not sure what changes i made

This commit is contained in:
Mohammad-Ali Minaie
2017-04-04 07:12:49 -04:00
parent cd8365533a
commit fc0b4e7394
2 changed files with 3 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ public class ForgeHammer extends Item {
//this.setHasSubtypes(true); //This just says the item has metadata
this.setMaxStackSize(1);
this.setCreativeTab(ModInfo.TAB_FORGECRAFT);
}
}

View File

@@ -39,7 +39,7 @@ public class ItemStoneTongs extends Item {
this.setCreativeTab(ModInfo.TAB_FORGECRAFT);
}
@Override
public void onUpdate(ItemStack item, World world, Entity player, int itemSlot, boolean isSelected) {
if (!item.hasTagCompound()) {
item.setTagCompound(new NBTTagCompound());
@@ -64,7 +64,7 @@ public class ItemStoneTongs extends Item {
}
@Override
public EnumActionResult onItemUse(EntityPlayer player, World world, BlockPos pos, EnumHand hand, EnumFacing facing, float hitX, float hitY, float hitZ)
{