Started by
bobzuma
on
Topic category: Help with Minecraft modding (Java Edition)
I am currently trying to make a custom water mob which can swim in a custom fluid I've created. The custom fluid is based on water, so I thought that maybe my custom entity's AI would work there too, but it didn't. Is there anything I can do with editing the code itself? Is there some workaround to this using procedures perhaps? Any advice would be appreciated.
I have several mobs able to swim in a custom fluid near-identical to water. I use the "Fly around" AI task/goal for them instead of the swimming one, with an "Additional continue condition" checking to see if the entity is "in water or bubble column" or not.
I also just have them marked as water entities; not flying ones. Even though the flying task saying it's "only for flying entities", it still functions for other mobs.