PocketMine-MP 5.19.1 git-5cc1068cd43264d3363295eb8d6901e02f467897
|
Public Member Functions | |
__construct (private BlockBreakInfo $breakInfo, array $typeTags=[], private array $enchantmentTags=[]) | |
getBreakInfo () | |
getEnchantmentTags () | |
getTypeTags () | |
hasTypeTag (string $tag) | |
Definition at line 29 of file BlockTypeInfo.php.
pocketmine\block\BlockTypeInfo::__construct | ( | private BlockBreakInfo | $breakInfo, |
array | $typeTags = [] , |
||
private array | $enchantmentTags = [] |
||
) |
string[] | $typeTags | |
string[] | $enchantmentTags |
Definition at line 40 of file BlockTypeInfo.php.
pocketmine\block\BlockTypeInfo::getBreakInfo | ( | ) |
Definition at line 48 of file BlockTypeInfo.php.
pocketmine\block\BlockTypeInfo::getEnchantmentTags | ( | ) |
Returns 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.).
Definition at line 64 of file BlockTypeInfo.php.
pocketmine\block\BlockTypeInfo::getTypeTags | ( | ) |
Definition at line 51 of file BlockTypeInfo.php.
pocketmine\block\BlockTypeInfo::hasTypeTag | ( | string | $tag | ) |
Definition at line 53 of file BlockTypeInfo.php.