Hi! I'm sorry i don't have any code to share but i'd like to learn how to spawn Chest Tile in the easiest way.. I don't understand the logic for NBT. If anyone could explain me about NBT, that would be awesome... Thanks
The NBT used when creating tiles is necessary for the extra data those tiles hold(Like inventories). Without it, they often don't place correctly. One of the best places to look is in pocketmine\block\Chest, under the place() function. If the tile placing method is good enough for PM, it should be good enough for any plugin you may be making. Idk how much you know of NBT, but it stands for Named Binary Tag, and is specific to Minecraft and MCPE. (Correct me if anything I say is wrong)