Skip to content

StructureBlockEntities 5.46.0 ​

final class · pocketmine\world\generator\vanilla\structure\template\StructureBlockEntities · source

Bedrock tile data for the blocks structures place: the loot containers and suspicious blocks of the templates (BlockEntityData), spawners, and a plain tile for every other block that needs one in PocketMine (beds with their colour, banners, flower pots with their plant, furnaces, lecterns, signs...), so the blocks work like placed ones.

Methods ​

create() ​

php
public static function create(\pocketmine\world\generator\vanilla\feature\block\JavaBlocks $blocks, int $state, ?\pocketmine\nbt\tag\CompoundTag $javaNbt) : ?\pocketmine\nbt\tag\CompoundTag

Tile data for a placed block, or null if it needs none.

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.