mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Seaponies shouldn't have a sneaking animation
This commit is contained in:
parent
153d32af3f
commit
4aecea94cb
1 changed files with 10 additions and 0 deletions
|
@ -2,11 +2,13 @@ package com.minelittlepony.model.ponies;
|
|||
|
||||
import com.minelittlepony.model.components.SeaponyTail;
|
||||
import com.minelittlepony.model.player.ModelUnicorn;
|
||||
import com.minelittlepony.pony.data.Pony;
|
||||
import com.minelittlepony.render.PonyRenderer;
|
||||
import com.minelittlepony.render.plane.PlaneRenderer;
|
||||
|
||||
import net.minecraft.client.renderer.GlStateManager;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.util.math.MathHelper;
|
||||
|
||||
public class ModelSeapony extends ModelUnicorn {
|
||||
|
@ -22,6 +24,14 @@ public class ModelSeapony extends ModelUnicorn {
|
|||
textureHeight = 64;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void updateLivingState(EntityLivingBase entity, Pony pony) {
|
||||
super.updateLivingState(entity, pony);
|
||||
|
||||
// Seaponies can't sneak, silly
|
||||
isSneak = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void initLegs(float yOffset, float stretch) {
|
||||
super.initLegs(yOffset, stretch);
|
||||
|
|
Loading…
Reference in a new issue