From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: William Blake Galbreath Date: Fri, 3 May 2019 23:53:16 -0500 Subject: [PATCH] Fix cow rotation when shearing mooshroom diff --git a/src/main/java/net/minecraft/world/entity/animal/MushroomCow.java b/src/main/java/net/minecraft/world/entity/animal/MushroomCow.java index 763a254d820cff3c776570248b9e905c052dd447..bdfca8501edb9209463b70db2d134b488a08e143 100644 --- a/src/main/java/net/minecraft/world/entity/animal/MushroomCow.java +++ b/src/main/java/net/minecraft/world/entity/animal/MushroomCow.java @@ -202,7 +202,13 @@ public class MushroomCow extends Cow implements Shearable { entitycow.moveTo(this.getX(), this.getY(), this.getZ(), this.getYRot(), this.getXRot()); entitycow.setHealth(this.getHealth()); + // Purpur start + entitycow.copyPosition(this); entitycow.yBodyRot = this.yBodyRot; + entitycow.setYHeadRot(this.getYHeadRot()); + entitycow.yRotO = this.yRotO; + entitycow.xRotO = this.xRotO; + // Purpur end if (this.hasCustomName()) { entitycow.setCustomName(this.getCustomName()); entitycow.setCustomNameVisible(this.isCustomNameVisible());