From 14f98369e8193d92f34c334bf87bf80f07a35266 Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 26 Jul 2018 17:31:37 +0200 Subject: [PATCH] Foals were _slightly_ too small --- src/main/java/com/minelittlepony/model/AbstractPonyModel.java | 2 ++ src/main/java/com/minelittlepony/pony/data/PonySize.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java index 33a4168d..be657e3d 100644 --- a/src/main/java/com/minelittlepony/model/AbstractPonyModel.java +++ b/src/main/java/com/minelittlepony/model/AbstractPonyModel.java @@ -21,6 +21,7 @@ import net.minecraft.client.model.ModelRenderer; import net.minecraft.client.renderer.GlStateManager; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLivingBase; +import net.minecraft.entity.player.EntityPlayer; import net.minecraft.util.EnumHandSide; import net.minecraft.util.math.MathHelper; @@ -77,6 +78,7 @@ public abstract class AbstractPonyModel extends ModelPlayer implements IModel { } public void updateLivingState(EntityLivingBase entity, Pony pony) { + isChild = entity.isChild(); isSneak = entity.isSneaking(); isSleeping = entity.isPlayerSleeping(); isFlying = pony.isPegasusFlying(entity); diff --git a/src/main/java/com/minelittlepony/pony/data/PonySize.java b/src/main/java/com/minelittlepony/pony/data/PonySize.java index 90b052de..88588424 100644 --- a/src/main/java/com/minelittlepony/pony/data/PonySize.java +++ b/src/main/java/com/minelittlepony/pony/data/PonySize.java @@ -7,7 +7,7 @@ public enum PonySize implements ITriggerPixelMapped { TALL(0x534b76, 0.45f, 1.1F, PonyTransformation.TALL), LARGE(0xce3254, 0.5f, 1, PonyTransformation.LARGE), NORMAL(0, 0.4f, 0.8F, PonyTransformation.NORMAL), - FOAL(0xffbe53, 0.25f, 0.5F, PonyTransformation.FOAL); + FOAL(0xffbe53, 0.25f, 0.6F, PonyTransformation.FOAL); private int triggerValue;