int id = Integer.parseInt(split[0]);
int meta = Integer.parseInt(split[1]);
int amount = Integer.parseInt(split[2]);
world.setBlock(parent.location.x, parent.location.y, parent.location.z,
Block.chest.blockID);
TileEntityChest b = (TileEntityChest) world.getBlockTileEntity(
parent.location.x, parent.location.y, parent.location.z);
b.setInventorySlotContents(x, new ItemStack(id, amount, meta));
}
finished = true;
}