How to make a milk effect

Started by Arto_Art on

Topic category: Help with MCreator software

Joined Jun 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a milk effect

I want to make a food that can cancel all effects , like milk, how can do this

 

Joined Sep 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you could have it execute…
Tue, 07/31/2018 - 16:14

you could have it execute the command /effect @p clear

Joined Aug 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Calling EntityLivingBase…
Tue, 07/31/2018 - 16:21

Calling EntityLivingBase#clearActivePotions() on your player is enough. If you want to clear only negative effects, use EntityPlayer#curePotionEffects()