Stop players from healing with a potion effect

Started by josephvazquez on

Topic category: Help with MCreator software

Active 14 hours ago
Joined Feb 2025
Points:
19

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
Stop players from healing with a potion effect

How can i make a potion effect that cancels all healing on a player while the potion is active?

Active 1 month ago
Joined May 2021
Points:
588

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
There's the "entity is…
Wed, 02/19/2025 - 03:04

There's the "entity is healed" global event, you should just be able to check if the target entity has your potion effect and if so, cancel the event.

Active 2 months ago
Joined Sep 2024
Points:
34

User statistics:

  • Modifications: 0
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 2
Or you can get a non heal…
Wed, 02/19/2025 - 10:51

Or you can get a non heal potion and then make it look like a heal potion

Active 1 month ago
Joined May 2021
Points:
588

User statistics:

  • Modifications: 0
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 66
SoloDragon, that doesn't do…
Wed, 02/19/2025 - 16:15

SoloDragon, that doesn't do what they asked, they asked to prevent all healing while under their effect. What you suggested would just... be handing them an empty potion?