[TUTORIAL] How to make a custom (aggressive) entity walk AND swim !!! (like drowned)

Started by TheForgottenOne on

Topic category: User side tutorials

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
[TUTORIAL] How to make a custom (aggressive) entity walk AND swim !!! (like drowned)

So I have found a way (enven though it might be kinda buggy) to make an entity walk AND swim ! 

I have seen that many peole a trying to figure that out sooo...

Simply choose an entity base in the "AI and goals" part : https://imgur.com/a/9xSXejt

Go to the code in "(YourMob)Entity"vand replace the base you chose with "Drowned" in my case, "Zombie" :

Before : https://imgur.com/a/Q78EBU4

After : https://imgur.com/a/SSHELCG

You may need to adjust the step height as it seems that my entity has trouble to get out of the water (?)

This process may be wrong as i am not an expert in code or with the advanced mcreator features but it seems to work for me, I keep this updated for any fixes/errors...

 

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Update : The fact that the…
Wed, 06/03/2026 - 17:32

Update : The fact that the entity is not moving out of the water correctly might be an issue with my own code/ai