Add config files. Separate phantom/crystal logic from ridables. Reorder patches

This commit is contained in:
William Blake Galbreath
2019-05-09 18:35:51 -05:00
parent 1ad8ee83c4
commit 6e9e72df5c
10 changed files with 654 additions and 369 deletions

View File

@@ -1,30 +0,0 @@
From e08952bd0dd95decb187f18b812d85e27d476e38 Mon Sep 17 00:00:00 2001
From: William Blake Galbreath <blake.galbreath@gmail.com>
Date: Fri, 3 May 2019 23:53:16 -0500
Subject: [PATCH] Fix cow rotation when shearing mooshroom
---
src/main/java/net/minecraft/server/EntityMushroomCow.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/main/java/net/minecraft/server/EntityMushroomCow.java b/src/main/java/net/minecraft/server/EntityMushroomCow.java
index 76712996f..d2de3589a 100644
--- a/src/main/java/net/minecraft/server/EntityMushroomCow.java
+++ b/src/main/java/net/minecraft/server/EntityMushroomCow.java
@@ -92,7 +92,13 @@ public class EntityMushroomCow extends EntityCow {
entitycow.setPositionRotation(this.locX, this.locY, this.locZ, this.yaw, this.pitch);
entitycow.setHealth(this.getHealth());
+ // Purpur start - correctly copy rotation
+ entitycow.u(this);
entitycow.aK = this.aK;
+ entitycow.aM = this.aM;
+ entitycow.lastYaw = this.lastYaw;
+ entitycow.lastPitch = this.lastPitch;
+ // Purpur end
if (this.hasCustomName()) {
entitycow.setCustomName(this.getCustomName());
}
--
2.20.1