Fertilizer

Create a new yml file in the /contents/fertilizers directory to add a new fertilizer. Of course, you can also modify it based on default.yml.

Available event triggers for fertilizer:

  • before_plant: When players try to apply the fertilizer to a pot with crop planted

  • use: When players use the fertilizer

  • wrong_pot: When players try using the fertilizer on the wrong pot

Fertilizer types:

  • QUALITY: Change the weights of star rated crops dropping

  • SOIL_RETAIN: Reduce the speed of water consumption

  • SPEED_GROW: Accelerate crop growth

  • VARIATION: Crops have a higher probability of variation

  • YIELD_INCREASE: Increase crop yield

quality_1:
  type: QUALITY
  icon: '뀆'
  chance: 1
  times: 28
  ratio: 7/2/1
  item: {0}quality_1
  before-plant: true
  pot-whitelist:
    - default

soil_retain_1:
  type: SOIL_RETAIN
  icon: '뀉'
  chance: 0.1
  times: 28
  item: {0}soil_retain_1
  before-plant: false
  particle: SPELL
  sound: minecraft:item.hoe.till
  pot-whitelist:
    - default

speed_grow_1:
  type: SPEED_GROW
  icon: '뀌'
  times: 14
  item: {0}speed_grow_1
  before-plant: true
  pot-whitelist:
    - default
  chance:
    1: 0.5

variation_1:
  type: VARIATION
  icon: '뀒'
  times: 14
  chance: 0.02
  item: {0}variation_1
  before-plant: false
  pot-whitelist:
    - default

yield_increase_1:
  type: YIELD_INCREASE
  icon: '뀏'
  times: 14
  item: {0}yield_increase_1
  before-plant: true
  pot-whitelist:
    - default
  chance:
    3: 0.1
    2: 0.4
    1: 0.8

Last updated