@Override public void onUpdate(ItemStack stack, World world, Entity entity, int um1, boolean um2) { super.onUpdate(stack, world, entity, um1, um2); if (entity instanceof EntityLivingBase) { TinySlot slot; if (entity instanceof EntityPlayer) { slot = new TinySlot.InventorySlot(stack, ((EntityPlayer) entity).inventory); } else { slot = new TinySlot(stack); } onUpdate(stack, slot, (EntityLivingBase) entity, false); } }