From b4881195b3e4827ffebfae907676e7de77af586d Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Fri, 18 Nov 2016 18:29:18 -0500 Subject: [PATCH] Move EntityHorse capability patches to AbstractHorse (#3417) Fixes #3409 --- ...Horse.java.patch => AbstractHorse.java.patch} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename patches/minecraft/net/minecraft/entity/passive/{EntityHorse.java.patch => AbstractHorse.java.patch} (76%) diff --git a/patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch b/patches/minecraft/net/minecraft/entity/passive/AbstractHorse.java.patch similarity index 76% rename from patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch rename to patches/minecraft/net/minecraft/entity/passive/AbstractHorse.java.patch index 9b5a5f415..4bf7fce41 100644 --- a/patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch +++ b/patches/minecraft/net/minecraft/entity/passive/AbstractHorse.java.patch @@ -1,17 +1,17 @@ ---- ../src-base/minecraft/net/minecraft/entity/passive/EntityHorse.java -+++ ../src-work/minecraft/net/minecraft/entity/passive/EntityHorse.java -@@ -85,6 +85,7 @@ +--- ../src-base/minecraft/net/minecraft/entity/passive/AbstractHorse.java ++++ ../src-work/minecraft/net/minecraft/entity/passive/AbstractHorse.java +@@ -981,6 +981,7 @@ } this.func_110232_cE(); + this.itemHandler = new net.minecraftforge.items.wrapper.InvWrapper(this.field_110296_bG); } - public void func_110235_q(int p_110235_1_) -@@ -401,4 +402,22 @@ - this.field_190885_a = p_i47337_1_; - } - } + public boolean func_70878_b(EntityAnimal p_70878_1_) +@@ -1219,4 +1220,22 @@ + + return p_180482_2_; + } + + // FORGE + private net.minecraftforge.items.IItemHandler itemHandler = null; // Initialized by initHorseChest above.