/** * Spawns this block at the position. The saved x, y and z in this block are ignored. * * <p> * * @param world The world to spawn in. * @param random The random number generator. * @param x The absolute x to spawn. The x-position in this object is ignored. * @param y The absolute y to spawn. The y-position in this object is ignored. * @param z The absolute z to spawn. The z-position in this object is ignored. */ public void spawn(LocalWorld world, Random random, int x, int y, int z) { world.setBlock(x, y, z, material); if (hasMetaData) { world.attachMetadata(x, y, z, metaDataTag); } }