|
PocketMine-MP 5.37.2 git-16b18b3ae19cb760b06adda7ce1d1700500e2b90
|
Collaboration diagram for pocketmine\block\BlockTypeInfo: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.