PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\BlockPaletteEntry Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\BlockPaletteEntry:

Public Member Functions

 __construct (private string $name, private CacheableNbt $states)
 
 getName ()
 
 getStates ()
 

Detailed Description

Definition at line 17 of file BlockPaletteEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\BlockPaletteEntry::__construct ( private string $name,
private CacheableNbt $states )

@phpstan-param CacheableNbt<\pocketmine\nbt\tag\CompoundTag> $states

Definition at line 21 of file BlockPaletteEntry.php.

Member Function Documentation

◆ getName()

pocketmine\network\mcpe\protocol\types\BlockPaletteEntry::getName ( )

Definition at line 26 of file BlockPaletteEntry.php.

◆ getStates()

pocketmine\network\mcpe\protocol\types\BlockPaletteEntry::getStates ( )

@phpstan-return CacheableNbt<\pocketmine\nbt\tag\CompoundTag>

Definition at line 31 of file BlockPaletteEntry.php.


The documentation for this class was generated from the following file: