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

Public Member Functions

 __construct (private string $stateName, array $stateProperties, private int $meta)
 
 generateStateData ()
 
 getMeta ()
 
 getRawStateProperties ()
 
 getStateName ()
 

Static Public Member Functions

static decodeStateProperties (string $rawProperties)
 
static encodeStateProperties (array $properties)
 

Detailed Description

Definition at line 36 of file BlockStateDictionaryEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::__construct ( private string $stateName,
array $stateProperties,
private int $meta )
Parameters
Tag[]$stateProperties@phpstan-param array<string, Tag> $stateProperties

Definition at line 49 of file BlockStateDictionaryEntry.php.

References pocketmine\network\mcpe\convert\BlockStateDictionaryEntry\encodeStateProperties().

+ Here is the call graph for this function:

Member Function Documentation

◆ decodeStateProperties()

static pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::decodeStateProperties ( string $rawProperties)
static
Returns
Tag[]

Definition at line 75 of file BlockStateDictionaryEntry.php.

◆ encodeStateProperties()

static pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::encodeStateProperties ( array $properties)
static
Parameters
Tag[]$properties@phpstan-param array<string, Tag> $properties

Definition at line 86 of file BlockStateDictionaryEntry.php.

Referenced by pocketmine\network\mcpe\convert\BlockStateDictionaryEntry\__construct().

+ Here is the caller graph for this function:

◆ generateStateData()

pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::generateStateData ( )

Definition at line 62 of file BlockStateDictionaryEntry.php.

◆ getMeta()

pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::getMeta ( )

Definition at line 70 of file BlockStateDictionaryEntry.php.

◆ getRawStateProperties()

pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::getRawStateProperties ( )

Definition at line 60 of file BlockStateDictionaryEntry.php.

◆ getStateName()

pocketmine\network\mcpe\convert\BlockStateDictionaryEntry::getStateName ( )

Definition at line 58 of file BlockStateDictionaryEntry.php.


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