Started by
thecatlover
on
Topic category: Help with Minecraft modding (Java Edition)
self explanitory but how do i make it so when a player gets the "undead" potion effect, they cant get rid of it with milk? (im making a mod that allows you to turn undead along with some zombie apocalypse stuff)
If you remove the milk from the curable items list milk can't cure it.
where is the curable items list?
I think they removed it actually. I don't know why.
When you get the effect give the entity and nbt variable. Make the entity get the potion effect each tick if it has this variable.
That way milk can't cure it.
DiamondGamin great idea bro! i fixed my medicine stuff with that hhaha thanks, i posted this on other milk stoppers topics too :)
i used a text NBT, works great