KubeJS (Old)

KubeJS (Old)

3M Downloads

Cant figure out ItemEvents.modification For Food

I-Want-Ninja opened this issue ยท 0 comments

commented

Minecraft Version

1.20.1

KubeJS Version

2001.6.4 Build 138

Rhino Version

2001.2.2 build 18

Architectury Version

v9.2.14

Forge/Fabric Version

47.2.20

Describe your issue

Cant figure out ItemEvents.modification For Food i have tried this

https://pastebin.com/6AP5fJCi

i have it like this too

food.hunger = 1
food.saturation = 1
food.fastToEat = true
item.maxStackSize = 6

none i of it works

kubejs says no issue but script dosnt change the item stats

Crash report/logs

No response