GameMasterBlocks 5.47.0
Structure blocks and jigsaw blocks are "game master" blocks: only operators in creative mode may place them, open their screens or edit them, like vanilla.
Methods
canUse()
php
public static function canUse(\pocketmine\player\Player $player) : boolisGameMasterBlock()
php
public static function isGameMasterBlock(\pocketmine\block\Block $block) : boolWhether only players who self::canUse() game master blocks may break the block: command, structure and jigsaw blocks (vanilla game master blocks), and the allow, deny and border blocks that share their placement rule.
