|
PocketMine-MP 5.37.4 git-dbb0a3db4df7e1ea8e62dc67aa0a6030f2ac20e4
|
Collaboration diagram for pocketmine\inventory\CreativeGroup:Public Member Functions | |
| __construct (private readonly Translatable|string $name, private readonly Item $icon) | |
| getIcon () | |
| getName () | |
Info for an item group in the creative inventory menu.
Definition at line 33 of file CreativeGroup.php.
| pocketmine\inventory\CreativeGroup::__construct | ( | private readonly Translatable|string | $name, |
| private readonly Item | $icon ) |
| Translatable | string | $name | Tooltip shown to the player on hover |
| Item | $icon | Item shown when the group is collapsed |
Definition at line 38 of file CreativeGroup.php.
| pocketmine\inventory\CreativeGroup::getIcon | ( | ) |
Definition at line 50 of file CreativeGroup.php.
| pocketmine\inventory\CreativeGroup::getName | ( | ) |
Definition at line 48 of file CreativeGroup.php.