make popped chorus fruit edible (#1722)
This commit is contained in:
parent
d012ab3ba7
commit
9784879282
1 changed files with 7 additions and 0 deletions
|
|
@ -18,6 +18,13 @@ function registerMinecraftItemModifications(event) {
|
|||
}
|
||||
})
|
||||
|
||||
event.modify('minecraft:popped_chorus_fruit', item => {
|
||||
item.foodProperties = food => {
|
||||
food.hunger(2)
|
||||
food.saturation(1)
|
||||
}
|
||||
})
|
||||
|
||||
event.modify('minecraft:elytra', item => {
|
||||
item.maxDamage = 2046
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue