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

Started by beans-against-… on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Jun 2022
Points:
537

User statistics:

  • Modifications: 2
  • Forum topics: 14
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 23
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