making a food item but I got this start up error. (ignore the names)
e.create('blue_meth_bag').texture('kubejs:item/blue_meth_bag').displayName('Blue Meth Bag').food(food => {
food
.effect('minecraft:slow_falling', 20, 4)
.effect('minecraft:strength', 20, 3)
.effect('brewinandchewin:tipsy', 240, 1)
.alwaysEdible()//Like golden apples
.fastToEat()//Like dried kelp
.meat()//Dogs are willing to eat it
//.eaten(ctx => {//runs code upon consumption
//ctx.player.tell(Text.gold('Yummy Yummy!'))
})
e.create('white_meth_bag').texture('kubejs:item/blue_meth_bag').displayName('White Meth Bag').food(food => {
food
.effect('minecraft:slow_falling', 20, 4)
.effect('brewinandchewin:tipsy', 480, 1)
.alwaysEdible()//Like golden apples
.fastToEat()//Like dried kelp
.meat()//Dogs are willing to eat it
//.eaten(ctx => {//runs code upon consumption
//ctx.player.tell(Text.gold('Yummy Yummy!'))
})