From 27d9edac67c645960c8c5fa2df4f60f00a63c77c Mon Sep 17 00:00:00 2001 From: Antoine Date: Wed, 4 Jun 2014 23:21:56 +0200 Subject: [PATCH] Add missing onLivingJump calls --- .../entity/monster/EntityMagmaCube.java.patch | 10 ++++++++++ .../minecraft/entity/passive/EntityHorse.java.patch | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 patches/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java.patch create mode 100644 patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch diff --git a/patches/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java.patch b/patches/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java.patch new file mode 100644 index 000000000..4c1c213c2 --- /dev/null +++ b/patches/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java.patch @@ -0,0 +1,10 @@ +--- ../src-base/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java ++++ ../src-work/minecraft/net/minecraft/entity/monster/EntityMagmaCube.java +@@ -99,6 +99,7 @@ + { + this.field_70181_x = (double)(0.42F + (float)this.func_70809_q() * 0.1F); + this.field_70160_al = true; ++ net.minecraftforge.common.ForgeHooks.onLivingJump(this); + } + + protected void func_70069_a(float p_70069_1_) {} diff --git a/patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch b/patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch new file mode 100644 index 000000000..72f00a77d --- /dev/null +++ b/patches/minecraft/net/minecraft/entity/passive/EntityHorse.java.patch @@ -0,0 +1,10 @@ +--- ../src-base/minecraft/net/minecraft/entity/passive/EntityHorse.java ++++ ../src-work/minecraft/net/minecraft/entity/passive/EntityHorse.java +@@ -1227,6 +1227,7 @@ + } + + this.field_110277_bt = 0.0F; ++ net.minecraftforge.common.ForgeHooks.onLivingJump(this); + } + + this.field_70138_W = 1.0F;