PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
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: