PocketMine-MP 5.23.3 git-4a4572131f27ab967701ceaaf2020cfbe26e375c
|
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.