Started by
LukeyDukey
on
Topic category: Help with Minecraft modding (Java Edition)
I'm making a mod about cheese and I added a potion effect called lactose intolerant. I was wandering if I could make it so that when you have the effect, if you eat cheese (custom element) or drink milk, the player would explode or an item would drop or something. I just need to make it detect that you ate either of the items while the effect is on. I'm new to mcreator so if this is something obvious, my bad.
Edited by LukeyDukey on Mon, 05/27/2024 - 01:32
In this procedure, if the player eats cooked chicken and has the night vision effect, a stone block will spawn under his feet
I did it correctly and I'm not sure what I did wrong, but it doesn't work
Can you give a screenshot?
I also need help with the whole "provided itemstack" thing. I can't seem to get it to work to set item nbt's, I hope we can find solutions.