From cf26f4acbe48ee8790edc03d0b5c16c1167278ab Mon Sep 17 00:00:00 2001 From: Raoul Date: Sat, 3 Dec 2016 19:26:04 +0100 Subject: [PATCH] Add ItemBlockSpecial#getBlock (#3343) --- .../net/minecraft/item/ItemBlockSpecial.java.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/patches/minecraft/net/minecraft/item/ItemBlockSpecial.java.patch b/patches/minecraft/net/minecraft/item/ItemBlockSpecial.java.patch index d1528af7a6..712bd2a08e 100644 --- a/patches/minecraft/net/minecraft/item/ItemBlockSpecial.java.patch +++ b/patches/minecraft/net/minecraft/item/ItemBlockSpecial.java.patch @@ -18,3 +18,13 @@ p_180614_3_.func_184133_a(p_180614_2_, p_180614_4_, soundtype.func_185841_e(), SoundCategory.BLOCKS, (soundtype.func_185843_a() + 1.0F) / 2.0F, soundtype.func_185847_b() * 0.8F); --p_180614_1_.field_77994_a; return EnumActionResult.SUCCESS; +@@ -66,4 +66,9 @@ + return EnumActionResult.FAIL; + } + } ++ ++ public Block getBlock() ++ { ++ return this.field_150935_a; ++ } + }