Add ItemBlockSpecial#getBlock (#3343)
(cherry picked from commit cf26f4acbe48ee8790edc03d0b5c16c1167278ab)
This commit is contained in:
parent
621d67d36a
commit
3ef3b46ebb
|
@ -18,3 +18,13 @@
|
|||
p_180614_2_.func_184133_a(p_180614_1_, p_180614_3_, soundtype.func_185841_e(), SoundCategory.BLOCKS, (soundtype.func_185843_a() + 1.0F) / 2.0F, soundtype.func_185847_b() * 0.8F);
|
||||
itemstack.func_190918_g(1);
|
||||
return EnumActionResult.SUCCESS;
|
||||
@@ -68,4 +68,9 @@
|
||||
return EnumActionResult.FAIL;
|
||||
}
|
||||
}
|
||||
+
|
||||
+ public Block getBlock()
|
||||
+ {
|
||||
+ return this.field_150935_a;
|
||||
+ }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue