@Override public void breakBlock(World world, int x, int y, int z, Block par5, int par6) { DummyTile dummy = (DummyTile) world.getTileEntity(x, y, z); AbstractCore core = dummy.getCore(); if (core != null && !world.isRemote) { core.setDirty(); } Block block = dummy.getStoredBlock(); int meta = dummy.getMetadata(); if (world.isAirBlock(x, y, z)) { float f = world.rand.nextFloat() * 0.8F + 0.1F; float f1 = world.rand.nextFloat() * 0.8F + 0.1F; float f2 = world.rand.nextFloat() * 0.8F + 0.1F; EntityItem entityitem = new EntityItem( world, (double) x + f, (double) y + f1, (double) z + f2, new ItemStack(block, 1, meta)); world.spawnEntityInWorld(entityitem); world.func_147453_f(x, y, z, par5); } super.breakBlock(world, x, y, z, par5, par6); }