How to make a milk effect

Started by Arto_Art on Sun, 07/22/2018 - 15:15

Topic category: Help with MCreator software

Last seen on 19:41, 24. Jul 2018
Joined Jun 2016
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make a milk effect
Sun, 07/22/2018 - 15:15

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

 

Last seen on 00:36, 3. Mar 2020
Joined Sep 2017
User points:

User statistics:

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

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

Last seen on 00:21, 11. Aug 2019
Joined Aug 2013
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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()