@Override public boolean onItemUse( ItemStack is, EntityPlayer player, World world, int x, int y, int z, int side, float hitX, float hitY, float hitZ) { if (!world.isRemote) doDebugAction(is, ItemUtil.getTagRoot(is, false), player, Pos.at(x, y, z)); return true; }
@Override public ItemStack onItemRightClick(ItemStack is, World world, EntityPlayer player) { if (!world.isRemote) doDebugAction(is, ItemUtil.getTagRoot(is, false), player, null); return is; }