Seeds and crops
In ItemsAdder you can create custom seeds and crops!

Example crop (tomato)

tomato_seeds is created in seeds.yml file
1
tomato_seeds:
2
enabled: true
3
permission: tomato_seeds
4
model_id: 1
5
name: '&fTomato Seeds'
6
events:
7
block_break:
8
drop_this_item: # tomato seeds can be found breaking grass
9
from_vanilla_block: GRASS
10
chance: 5
11
min_amount: 1
12
max_amount: 2
13
specific_properties:
14
crop_block: WHEAT #crop shown on the ground when planting the seed
15
result:
16
item: tomato #item to be dropped when crop is fully grow
17
min_amount: 1
18
max_amount: 2
19
craft_recipe:
20
enabled: true
21
amount: 2
22
pattern:
23
- XXX
24
- XOX
25
- XXX
26
ingredients:
27
O: tomato
Copied!
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)
1
tomato:
2
enabled: true
3
permission: tomato
4
model_id: 1
5
name: '&fTomato'
6
banana:
7
enabled: true
8
permission: banana
9
model_id: 2
10
name: '&fBanana'
11
lore:
12
- "&7This item can"
13
- "&7be found in Spruce Leaves"
14
- "&7with 5% probability"
15
events:
16
block_break:
17
drop_this_item:
18
from_vanilla_block: OAK_LEAVES
19
need_pickaxe: false
20
chance: 10
21
min_amount: 1
22
max_amount: 2
Copied!

Specific properties

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