[TUTORIAL] How to make a mob die in water

Started by Botato the Potato on

Topic category: User side tutorials

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] How to make a mob die in water
Sat, 01/07/2023 - 17:26 (edited)

So let's say you're making an entity that lives in the nether or is related to fire, and you want to make it weak to water. Well, all you have to do is:


1. In your entity's triggers section, (on the bottom left) there is an option to run a procedure on tick update. (Example Image)

2. Click the green plus button, create a procedure, and next you'll see the procedure maker thing.

3. Now, all you have to do is copy this set of code into it and click save.

As long as your entity isn't checked as a water mob it should start dying as soon as it touches water!

Hope this helps, and thanks for reading!

Edited by Botato the Potato on Sat, 01/07/2023 - 17:26