BlockTypeInfo
Methods
__construct()
php
public function __construct(\pocketmine\block\BlockBreakInfo $breakInfo, array $typeTags = [], array $enchantmentTags = [])getBreakInfo()
php
public function getBreakInfo() : \pocketmine\block\BlockBreakInfogetEnchantmentTags()
php
public function getEnchantmentTags() : arrayReturns tags that represent the type of item being enchanted and are used to determine what enchantments can be applied to the item of this block during in-game enchanting (enchanting table, anvil, fishing, etc.).
getTypeTags()
php
public function getTypeTags() : arrayhasTypeTag()
php
public function hasTypeTag(string $tag) : bool