Problems with the water mob

Started by GoodBoy123141 on

Topic category: Help with modding (Java Edition)

Last seen on 13:19, 20. Nov 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Problems with the water mob

I made a whale and I want it to just swim in the water like a fish or an octopus, just swim calmly. And the fact is that when he is not on the surface of the water, he stops moving and just goes to the bottom, but when on the surface, he swims normally. How to fix it, please help!

Last seen on 13:19, 20. Nov 2021
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I figured out what theā€¦
Sun, 11/07/2021 - 23:47

I figured out what the problem is! The problem is not that the AI of the mob itself does not work, but that the AI of the mob does not perceive water as a habitat, let's say. When the mob touches anything other than water (for example algae, air), it stops working.