Swim under/on water AI task

Status
Fixed
Issue description

Well, I did tried make a hostile water mob like like as shark or piranha and I'd can't. There is a few serious problems with that.

First off and most important is its movements: I can't make this mob to swimming in that way as water mobs should does. If I set in custom AI "swim when in water" then mob does swim on surface of water like a zombie or any land mob that will fall into water. If I don't set "swim when in water" then that mob does fall down to bottom.
I did set on "is water entity" and tried set "monster" and "WaterCreature"(and other ways) and this doesn't work.

I think, that water mob's movement should be like a Guardian mob, or exactly this mob should swim like a FISH, not as Zombie or player.
And if such that mob is set as monster, then be a good if he does spawn in darker regions underwater.

I wanted to create a mob like as piranha that does swim ably as Guardian mob and does chase player then does melee atack(bite) him. Maybe this mob will explode too, when player be in boat.

Anyway I think that something as custom AI block like a "swim like fish when underwater" will be good solution. That AI block can be used instead of "Swim when in water" block.

Issue comments

Please add this fish-like movement AI. Without that creating water mobs doesn't make a bigger sense.

On a different note, I would also like to maybe see  path finding on flying mobs in the future

FireBlox, there is a ticket for this with flying mobs not attacking which is basically due to lack of pathfinding and navigator.

Thats awesome! congratulations for this. Mcreator is an amazing tool! thanks!

 

 i need to know 3 things about water mobs:

1) How to change their underwater speed

2)How to make a water entity walk on land too.

3)How to make a water mob die in land? like drowning code but reverse

PS - i could not find those on vanilla files