"How to make an aquatic mob in Forge 1.21.1"
Hi! I'm working on a custom turtle mob for my mod using Minecraft Forge 1.21.1, and I'm having some trouble with its swimming behavior.
I want the turtle to swim properly, like a real turtle — moving freely through water and avoiding the sea floor so it doesn’t get stuck between blocks. Right now, it either sinks too much, swims awkwardly, or keeps bumping into the bottom.
Any advice on how to handle pathfinding, movement control, or AI goals for aquatic mobs? Maybe examples from existing mods or vanilla code?
Thanks in advance!