Seeds and crops

In ItemsAdder you can create custom seeds and crops!

Example crop (tomato)

tomato_seeds is created in seeds.yml file

tomato_seeds:
  enabled: true
  permission: tomato_seeds
  model_id: 1
  name: '&fTomato Seeds'
  events:
    block_break:
      drop_this_item: # tomato seeds can be found breaking grass
        from_vanilla_block: GRASS
        chance: 5
        min_amount: 1
        max_amount: 2
  specific_properties:
    crop_block: WHEAT #crop shown on the ground when planting the seed
    result:
      item: tomato #item to be dropped when crop is fully grow
      min_amount: 1
      max_amount: 2
  craft_recipe:
    enabled: true
    amount: 2
    pattern:
      - XXX
      - XOX
      - XXX
    ingredients:
      O: tomato

tomato item can be created in items.yml, vegetables_fruits.yml, minerals.yml (depends on your needs)

tomato item

this is the tomato item dropped from crop (created in vegetables_and_fruits.yml)

tomato:
  enabled: true
  permission: tomato
  model_id: 1
  name: '&fTomato'
banana:
  enabled: true
  permission: banana
  model_id: 2
  name: '&fBanana'
  lore:
    - "&7This item can"
    - "&7be found in Spruce Leaves"
    - "&7with 5% probability"
  events:
    block_break:
      drop_this_item:
        from_vanilla_block: OAK_LEAVES
        need_pickaxe: false
        chance: 10
        min_amount: 1
        max_amount: 2

Specific properties

  specific_properties:
    crop_block: WHEAT #crop shown on the ground when planting the seed
    result:
      item: tomato #item to be dropped when crop is fully grow
      min_amount: 1
      max_amount: 2

Last updated