#How to give modded effects to foods when eaten.
7 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
im trying to use vanilla effects too, and thats not working
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
okay coolio, looks like im just bad at formatting, thank u