events.listen('item.registry', function (e) {
e.create('miraculous_soup')
.displayName('Miraculous Soup')
.food(foodConsumer => {
foodConsumer.hunger(20)
            .saturation(20.0)
            .alwaysEdible()
            .eaten(eatenEvent => {
                eatenEvent.player.tell("I have bad luck");
                eatenEvent.getEntity().getPotionEffects().add("minecraft:saturation",2000,4,false,false)
                eatenEvent.getEntity().getPotionEffects().add("minecraft:regeneration",2000,4,false,false)
                eatenEvent.getEntity().getPotionEffects().add("minecraft:unluck",6000,0,false,false)
            });
});
e.create('ultimate_skewer')
.displayName('Ultimate Skewer')
.food(foodConsumer => {
  foodConsumer.hunger(20)
              .saturation(5.0)
              .eaten(eatenEvent => {
                eatenEvent.player.tell("I thirst for blood");
                eatenEvent.getEntity().getPotionEffects().add("minecraft:strength",6000,4,false,false)
                eatenEvent.getEntity().getPotionEffects().add("minecraft:health_boost",6000,3,false,false)
                eatenEvent.getEntity().getPotionEffects().add("minecraft:saturation",2000,4,false,false)
                eatenEvent.getEntity().getPotionEffects().add("minecraft:regeneration",2000,4,false,false)
                eatenEvent.getEntity().getPotionEffects().add("botania:bloodthirst",12000,0,false,false)
              });
});
e.create('beer')
.displayName('Binouze')
.food(foodConsumer => {
  foodConsumer.hunger(10).saturation(0.8)
});
})