diff --git a/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatArmorLayer.java b/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatArmorLayer.java index 29593a164..cd13804f6 100644 --- a/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatArmorLayer.java +++ b/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatArmorLayer.java @@ -16,6 +16,7 @@ import net.minecraft.client.model.EntityModel; import net.minecraft.client.model.HierarchicalModel; import net.minecraft.client.model.LavaSlimeModel; import net.minecraft.client.model.SlimeModel; +import net.minecraft.client.model.WardenModel; import net.minecraft.client.model.WolfModel; import net.minecraft.client.model.geom.ModelPart; import net.minecraft.client.model.geom.ModelPart.Cube; @@ -94,6 +95,9 @@ public class TrainHatArmorLayer boolean slime = model instanceof SlimeModel || model instanceof LavaSlimeModel; ModelPart head = model.root().children.get(slime ? "cube" : "head"); + if (model instanceof WardenModel) + head = model.root().children.get("bone").children.get("body").children.get("head"); + if (head != null) { head.translateAndRotate(ms); diff --git a/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatOffsets.java b/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatOffsets.java index f1f7ddc98..baa4f195e 100644 --- a/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatOffsets.java +++ b/src/main/java/com/simibubi/create/content/logistics/trains/management/schedule/TrainHatOffsets.java @@ -22,6 +22,7 @@ import net.minecraft.client.model.SheepModel; import net.minecraft.client.model.SlimeModel; import net.minecraft.client.model.SnowGolemModel; import net.minecraft.client.model.SpiderModel; +import net.minecraft.client.model.WardenModel; import net.minecraft.client.model.WolfModel; import net.minecraft.world.phys.Vec3; @@ -91,6 +92,9 @@ public class TrainHatOffsets { y += 2f; } else if (model instanceof ParrotModel) { z -= 1.5f; + } else if (model instanceof WardenModel) { + y += 3.5f; + z += .5f; } }