How can I make this mob swim on top of water?

Started by beans-against-… on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I make this mob swim on top of water?

I'm trying to make a Duck and I need it to swim on top of the water, I haven't figured out how to get them to move around randomly but they only float on top without moving.

CODE