package net.paladrill.paladrillmod.procedure; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel9; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel8; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel7; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel5; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel4; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel3; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel25; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel24; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel23; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel22; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel21; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel20; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel2; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel19; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel18; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel17; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel16; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel15; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel14; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel13; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel12; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel11; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel10; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLevel1; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGodLeve6; import net.paladrill.paladrillmod.item.ItemPickaxeOfTheGod; import net.paladrill.paladrillmod.ElementsPaladrillmodMod; import net.minecraft.world.World; import net.minecraft.util.text.TextComponentString; import net.minecraft.util.math.BlockPos; import net.minecraft.util.EnumHand; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.item.ItemStack; import net.minecraft.entity.player.EntityPlayerMP; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.Entity; import net.minecraft.block.material.Material; import java.util.Map; @ElementsPaladrillmodMod.ModElement.Tag public class ProcedurePickaxeOfTheGodBlockDestroyedWithTool extends ElementsPaladrillmodMod.ModElement { public ProcedurePickaxeOfTheGodBlockDestroyedWithTool(ElementsPaladrillmodMod instance) { super(instance, 232); } public static void executeProcedure(Map dependencies) { if (dependencies.get("entity") == null) { System.err.println("Failed to load dependency entity for procedure PickaxeOfTheGodBlockDestroyedWithTool!"); return; } if (dependencies.get("itemstack") == null) { System.err.println("Failed to load dependency itemstack for procedure PickaxeOfTheGodBlockDestroyedWithTool!"); return; } if (dependencies.get("x") == null) { System.err.println("Failed to load dependency x for procedure PickaxeOfTheGodBlockDestroyedWithTool!"); return; } if (dependencies.get("y") == null) { System.err.println("Failed to load dependency y for procedure PickaxeOfTheGodBlockDestroyedWithTool!"); return; } if (dependencies.get("z") == null) { System.err.println("Failed to load dependency z for procedure PickaxeOfTheGodBlockDestroyedWithTool!"); return; } if (dependencies.get("world") == null) { System.err.println("Failed to load dependency world for procedure PickaxeOfTheGodBlockDestroyedWithTool!"); return; } Entity entity = (Entity) dependencies.get("entity"); ItemStack itemstack = (ItemStack) dependencies.get("itemstack"); int x = (int) dependencies.get("x"); int y = (int) dependencies.get("y"); int z = (int) dependencies.get("z"); World world = (World) dependencies.get("world"); if ((!(((itemstack).hasTagCompound() && (itemstack).getTagCompound().getBoolean("used")) == (true)))) { { ItemStack _stack = (itemstack); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setBoolean("used", (true)); } { ItemStack _stack = (itemstack); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", 0); } } if ((((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.WOOD) || (((world .getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.PLANTS) || (((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.LEAVES) || (((world .getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.ROCK) || (((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.GRASS) || (((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.WEB) || (((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.SAND) || (((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))).getMaterial() == Material.GROUND) || ((world.getBlockState(new BlockPos((int) x, (int) y, (int) z))) .getMaterial() == Material.CLAY)))))))))) { if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel24.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel25.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel24.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel25.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel23.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel24.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel23.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel24.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel22.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel23.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel22.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel23.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel21.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel22.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel20.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel21.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel20.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel21.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel20.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel21.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel19.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel20.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel19.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel20.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel13.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 2050)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel14.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel13.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel14.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((2050 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel12.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 1900)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel13.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel12.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel13.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((1900 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel11.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 1675)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel12.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel11.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel12.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((1675 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel10.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 1500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel11.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel10.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel11.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((1500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel9.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 1350)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel10.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel9.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel10.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((1350 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel8.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 1100)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel9.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel8.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel9.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((1100 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel7.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 900)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel8.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel7.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel8.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((900 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLeve6.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 750)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel7.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLeve6.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel7.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((750 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel5.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLeve6.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel5.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLeve6.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel4.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 300)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel5.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel4.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel5.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((300 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel3.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 175)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel4.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel3.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel4.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((175 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel2.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 100)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel3.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel2.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel3.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((100 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel1.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 50)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel2.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel1.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel2.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((50 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGod.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 25)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel1.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGod.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel1.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((25 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel18.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3500)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel19.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel18.block, (int) (1)).getDisplayName())) + "" + ("\u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel19.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3500 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel17.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 3100)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel18.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel17.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel18.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((3100 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel16.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 2800)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel17.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel16.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel17.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((2800 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel15.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 2600)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel16.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel15.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel16.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((2600 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } if ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getItem() == new ItemStack(ItemPickaxeOfTheGodLevel14.block, (int) (1)).getItem())) { { ItemStack _stack = ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY); if (!_stack.hasTagCompound()) _stack.setTagCompound(new NBTTagCompound()); _stack.getTagCompound().setDouble("level", ((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) + 1)); } if (((((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .getTagCompound().getDouble("level") : -1) >= 2200)) { if (entity instanceof EntityLivingBase) { ItemStack _setstack = new ItemStack(ItemPickaxeOfTheGodLevel15.block, (int) (1)); _setstack.setCount(1); ((EntityLivingBase) entity).setHeldItem(EnumHand.MAIN_HAND, _setstack); if (entity instanceof EntityPlayerMP) ((EntityPlayerMP) entity).inventory.markDirty(); } if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A72Your ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel14.block, (int) (1)).getDisplayName())) + "" + (" \u00A72Leveled Up to ") + "" + ((new ItemStack(ItemPickaxeOfTheGodLevel15.block, (int) (1)).getDisplayName())))), (false)); } } else { if (entity instanceof EntityPlayer && !entity.world.isRemote) { ((EntityPlayer) entity).sendStatusMessage(new TextComponentString((("\u00A76You Need to Mine ") + "" + ((2200 - (((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY) .hasTagCompound() ? ((entity instanceof EntityLivingBase) ? ((EntityLivingBase) entity).getHeldItemMainhand() : ItemStack.EMPTY).getTagCompound().getDouble("level") : -1))) + "" + (" \u00A76To Level Up"))), (true)); } } } } } }