Well your class extends EntityAnimal but you probably should look at EntityWaterMob (or something that extends it like EntitySquid). Just look at how other water mobs work and copy the parts that look important to the things you care about, or change your class to extend EntityWaterMob and copy back anything from EntityAnimal that you need.
the only water mob i can look on vanilla is the squid, and when i copy the parts i think i need it give me several errors.. could, if possible, point me the parts i need (post the code) so i can add on my mob file? thanks!
nvm im using the squid AI now, all i need is to know how to activate my leg animations using the squid AI, what should i call to make it animate in water?
Hey guys!
So im trying my first aquatic mob here, its all good, except for 2 aspects:
- It only swim like a regular land swimmir, i want it to swim like a fish
- it drowns if it stays to long on water, i want to make it imunne to drowning or something like that... how people make aquatic mobs?
I tried to add this below, but it game me errors:
its from the squid mob, the only aquatic mob i can use to learn, but i dont see anything recent on google too, apreciate some help!
Well your class extends EntityAnimal but you probably should look at EntityWaterMob (or something that extends it like EntitySquid). Just look at how other water mobs work and copy the parts that look important to the things you care about, or change your class to extend EntityWaterMob and copy back anything from EntityAnimal that you need.
the only water mob i can look on vanilla is the squid, and when i copy the parts i think i need it give me several errors.. could, if possible, point me the parts i need (post the code) so i can add on my mob file? thanks!
What imports should i add to makeextends EntityWaterMob work?
nvm im using the squid AI now, all i need is to know how to activate my leg animations using the squid AI, what should i call to make it animate in water?