Potion effects

Started by cislabh on Wed, 02/25/2015 - 13:26
Last seen on 14:12, 17. Dec 2015
Joined Sep 2014
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Potion effects
Wed, 02/25/2015 - 13:26

Is there a way to make armor ignore potion effects like have an armor make it so that you can't get withered or cant get blindness?

Last seen on 18:36, 16. Jul 2016
Joined Feb 2015
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
i am not exactly sure how.
Tue, 03/03/2015 - 22:28

i am not exactly sure how. but what i would do is make it so that per tick of wearing the armour, there is an if{ player has potion effect. then the player gets the same effect as consuming milk, which would remove all effects, or simply just give them an opposite potion, for example to counter slowness the player would be given speed, and for wither
they wpuld be given regeneration. what your trying to do is not simple so dont expect much help from this community, you would need basic java knowledge.