Hi! Please make edit this code generator to magasine on screenshot PHP: public static function placeObject(ChunkManager $level, $chunk, $Xofchunk, $Zofchunk){ $vec = new Vector3($chunk->getX() * 16 + $Xofchunk, 0, $chunk->getZ() * 16 + $Zofchunk); $vec = $vec->subtract(7, 0, 7); // fix offset for($x = 4; $x < 11; $x++){ for($z = 4; $z < 11; $z++){ $level->setBlockIdAt($vec->x + $x, 68, $vec->z + $z, Block::GRASS); } } for($x = 5; $x < 10; $x++){ for($z = 5; $z < 10; $z++){ $level->setBlockIdAt($vec->x + $x, 67, $vec->z + $z, Block::DIRT); $level->setBlockIdAt($vec->x + $x, 72, $vec->z + $z, Block::LEAVES); // 72 } } for($x = 6; $x < 9; $x++){ for($z = 6; $z < 9; $z++){ $level->setBlockIdAt($vec->x + $x, 73, $vec->z + $z, Block::LEAVES); // 73 $level->setBlockIdAt($vec->x + $x, 66, $vec->z + $z, Block::DIRT); // 66 } } $level->setBlockIdAt($vec->x + 7, 64, $vec->z + 7, Block::BEDROCK); // 0 $level->setBlockIdAt($vec->x + 7, 65, $vec->z + 7, Block::SAND); // 1 $level->setBlockIdAt($vec->x + 7, 66, $vec->z + 7, Block::SAND); // 2 $level->setBlockIdAt($vec->x + 7, 67, $vec->z + 7, Block::SAND); // 3 $level->setBlockIdAt($vec->x + 7, 69, $vec->z + 7, Block::LOG); // 5 $level->setBlockIdAt($vec->x + 7, 70, $vec->z + 7, Block::LOG); // 6 $level->setBlockIdAt($vec->x + 7, 71, $vec->z + 7, Block::LOG); // 7 $level->setBlockIdAt($vec->x + 7, 72, $vec->z + 7, Block::LOG); // 8 $level->setBlockIdAt($vec->x + 7, 73, $vec->z + 7, Block::LOG); // 9 $level->setBlockIdAt($vec->x + 4, 68, $vec->z + 4, Block::AIR); // 68 $level->setBlockIdAt($vec->x + 4, 68, $vec->z + 10, Block::AIR); $level->setBlockIdAt($vec->x + 10, 68, $vec->z + 4, Block::AIR); $level->setBlockIdAt($vec->x + 10, 68, $vec->z + 10, Block::AIR); $level->setBlockIdAt($vec->x + 5, 72, $vec->z + 5, Block::AIR); // 72 $level->setBlockIdAt($vec->x + 5, 72, $vec->z + 9, Block::AIR); $level->setBlockIdAt($vec->x + 9, 72, $vec->z + 5, Block::AIR); $level->setBlockIdAt($vec->x + 9, 72, $vec->z + 9, Block::AIR); $level->setBlockIdAt($vec->x + 5, 73, $vec->z + 7, Block::LEAVES); // 73 $level->setBlockIdAt($vec->x + 7, 73, $vec->z + 5, Block::LEAVES); $level->setBlockIdAt($vec->x + 9, 73, $vec->z + 7, Block::LEAVES); $level->setBlockIdAt($vec->x + 7, 73, $vec->z + 9, Block::LEAVES); $level->setBlockIdAt($vec->x + 7, 74, $vec->z + 6, Block::LEAVES); // 74 $level->setBlockIdAt($vec->x + 6, 74, $vec->z + 7, Block::LEAVES); $level->setBlockIdAt($vec->x + 8, 74, $vec->z + 7, Block::LEAVES); $level->setBlockIdAt($vec->x + 7, 74, $vec->z + 8, Block::LEAVES); $level->setBlockIdAt($vec->x + 7, 75, $vec->z + 7, Block::LEAVES); // 75 $level->setBlockIdAt($vec->x + 7, 65, $vec->z + 8, Block::DIRT); // 65 $level->setBlockIdAt($vec->x + 8, 65, $vec->z + 7, Block::DIRT); $level->setBlockIdAt($vec->x + 7, 65, $vec->z + 6, Block::DIRT); $level->setBlockIdAt($vec->x + 6, 65, $vec->z + 7, Block::DIRT); $level->setBlockIdAt($vec->x + 5, 66, $vec->z + 7, Block::DIRT); // 66 $level->setBlockIdAt($vec->x + 7, 66, $vec->z + 5, Block::DIRT); $level->setBlockIdAt($vec->x + 9, 66, $vec->z + 7, Block::DIRT); $level->setBlockIdAt($vec->x + 7, 66, $vec->z + 9, Block::DIRT); $level->setBlockIdAt($vec->x + 4, 67, $vec->z + 7, Block::DIRT); // 67 $level->setBlockIdAt($vec->x + 7, 67, $vec->z + 4, Block::DIRT); $level->setBlockIdAt($vec->x + 7, 67, $vec->z + 10, Block::DIRT); $level->setBlockIdAt($vec->x + 10, 67, $vec->z + 7, Block::DIRT); }