Eatables

eatables.yml

This is the file where all custom eatables behaviour and config are stored

Example food

1
pizza:
2
enabled: true
3
permission: pizza
4
model_id: 1
5
name: '&fPizza'
6
events:
7
eat: #special event only called by food items, called when
8
#user eats the item
9
restore_food: 9 #amount of food to restore when player eat
10
craft_recipe:
11
enabled: true
12
amount: 4
13
pattern:
14
- XXX
15
- TTT
16
- DDD
17
ingredients:
18
T: tomato
19
D: dough
Copied!
Copy link