Add alternative ItemAxe Constructor

This commit is contained in:
LexManos 2016-05-24 14:44:35 -07:00
parent 1fbadb0ead
commit 614ba8fa73

View file

@ -0,0 +1,16 @@
--- ../src-base/minecraft/net/minecraft/item/ItemAxe.java
+++ ../src-work/minecraft/net/minecraft/item/ItemAxe.java
@@ -20,6 +20,13 @@
this.field_185065_c = field_185067_n[p_i45327_1_.ordinal()];
}
+ protected ItemAxe(Item.ToolMaterial material, int damage, int speed)
+ {
+ super(material, field_150917_c);
+ this.field_77865_bY = damage;
+ this.field_185065_c = speed;
+ }
+
public float func_150893_a(ItemStack p_150893_1_, IBlockState p_150893_2_)
{
Material material = p_150893_2_.func_185904_a();