how do i make a potion immune to milk

Started by thecatlover on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i make a potion immune to milk

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)

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If you remove the milk from…
Mon, 01/04/2021 - 21:37

If you remove the milk from the curable items list milk can't cure it.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where is the curable items…
Mon, 01/04/2021 - 23:03

where is the curable items list?

Joined Nov 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think they removed it…
Fri, 01/08/2021 - 16:59

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.

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
DiamondGamin great idea bro!…
Wed, 12/20/2023 - 04:45

DiamondGamin great idea bro! i fixed my medicine stuff with that hhaha thanks, i posted this on other milk stoppers topics too :)

Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i used a text NBT, works…
Wed, 12/20/2023 - 04:46

i used a text NBT, works great