Check if Entity has a specific potion effect

Started by GoldenDarius on Sat, 11/21/2020 - 08:28

Topic category: Advanced modding

Last seen on 15:43, 4. Dec 2020
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Check if Entity has a specific potion effect
Sat, 11/21/2020 - 08:28

In my last post, i asked for help because I was trying to make an armor that removes specific potion effect. The issue here is that I can't find a procedure that allows me to check if an entity has a specific potion effect. Can someone explain me what I am supposed to do?

Last seen on 18:15, 25. Jan 2021
Joined Apr 2010
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Get potion level and if…
Sat, 11/21/2020 - 09:19

Get potion level and if level is larger than 0, entity has it

Last seen on 15:43, 4. Dec 2020
Joined Nov 2020
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Thanks for the answer, it…
Sat, 11/21/2020 - 09:45

Thanks for the answer, it worked