can you please help me with a mask

Started by Reni on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you please help me with a mask

i have made a "gas bomb", that if you enter it, it gives you the poison, and blindness effect. and basically how it works is there are particles, and a block called "gas bomb agent" that is invisible, and you can walk through it. and if you collide with the block, it gives you poison and blindness.
yeah so then i made a gas mask, that cancels the poison effect and blindness effect. but it doesnt seem to work. i think its because its cancelling the effect in the same tick that is making the entity gain that effect

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i also tried to make if…
Thu, 12/12/2024 - 18:06

i also tried to make if entity is not wearing mask, add potions. but it crashes the game :(