Currently, fish only appear upright when the client senses they're in water, but this isn't helpful for using fish entities as NPCs or decoration. Fish entities with the NoAI modifier set to true should override this behavior.
Below is the proposed client code:
//From the net.minecraft.client.model.animal.fish.SalmonModel class
if (!state.isInWater && !state.hasAI /*hasAI is not a real property of EntityRenderState, might need to be added.*/) {
if (!state.isInWater && !state.hasAI /*hasAI is not a real property of EntityRenderState, might need to be added.*/) {
amplitudeMultiplier = 1.3F;
angleMultiplier = 1.7F;
}
0 Comments
Please sign in to leave a comment.
Post a new comment: