#How to give modded effects to foods when eaten.

7 messages · Page 1 of 1 (latest)

alpine scaffold
#

I've made non edible items edible, and i want to make it so you get the 'ars_nouveau:blasting' effect when you eat it, any clue how?

stray bridgeBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

alpine scaffold
#

im trying to use vanilla effects too, and thats not working

plucky basin
#
ItemEvents.modification(event => {
    event.modify(id, item => {
        item.foodProperties = (food) => {
            food.effect('ars_nouveau:blasting', 6000, 0, 1);
        };
    });
});
#

id being whatever item id you want to give the effect when eaten

#

This is a startup script btw

alpine scaffold
#

okay coolio, looks like im just bad at formatting, thank u