What is the data tag put on a chest that sets the direction it faces and what's in it? PHP: $chunk->setBlockId($X+1,$groundHeight+1,$Z,Block::CHEST);$chunk->setBlockData($X+1,$groundHeight+1,$Z,[ //what goes here?]);
http://minecraft.gamepedia.com/Data_values#Ladders.2C_Furnaces.2C_Chests.2C_Trapped_Chests If this isn't correct, test them yourself - that's much simpler.