PocketMine-MP 5.25.1 git-34f801ee3c6d8c99dfd928b19fc58597b5b997ea
Loading...
Searching...
No Matches
pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper Class Reference
+ Collaboration diagram for pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper:

Static Public Member Functions

static encodeButton (Button $block, Writer $out)
 
static encodeCandle (Candle $block, Writer $out)
 
static encodeCauldron (string $liquid, int $fillLevel)
 
static encodeChemistryTable (ChemistryTable $block, Writer $out)
 
static encodeCrops (Crops $block, Writer $out)
 
static encodeDoor (Door $block, Writer $out)
 
static encodeDoublePlant (DoublePlant $block, Writer $out)
 
static encodeFenceGate (FenceGate $block, Writer $out)
 
static encodeFloorSign (FloorSign $block, Writer $out)
 
static encodeFurnace (Furnace $block, string $unlitId, string $litId)
 
static encodeItemFrame (ItemFrame $block, string $id)
 
static encodeLeaves (Leaves $block, Writer $out)
 
static encodeLiquid (Liquid $block, string $stillId, string $flowingId)
 
static encodeLog (Wood $block, string $unstrippedId, string $strippedId)
 
static encodeMushroomBlock (RedMushroomBlock $block, Writer $out)
 
static encodeQuartz (int $axis, Writer $out)
 
static encodeSapling (Sapling $block, Writer $out)
 
static encodeSimplePressurePlate (SimplePressurePlate $block, Writer $out)
 
static encodeSlab (Slab $block, string $singleId, string $doubleId)
 
static encodeStairs (Stair $block, Writer $out)
 
static encodeStem (Stem $block, Writer $out)
 
static encodeTorch (Torch $block, Writer $out)
 
static encodeTrapdoor (Trapdoor $block, Writer $out)
 
static encodeWall (Wall $block, Writer $out)
 
static encodeWallSign (WallSign $block, Writer $out)
 
static selectCopperId (CopperOxidation $oxidation, string $noneId, string $exposedId, string $weatheredId, string $oxidizedId)
 

Detailed Description

Definition at line 58 of file BlockStateSerializerHelper.php.

Member Function Documentation

◆ encodeButton()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeButton ( Button $block,
Writer $out )
static

Definition at line 59 of file BlockStateSerializerHelper.php.

◆ encodeCandle()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeCandle ( Candle $block,
Writer $out )
static

Definition at line 65 of file BlockStateSerializerHelper.php.

◆ encodeCauldron()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeCauldron ( string $liquid,
int $fillLevel )
static

Definition at line 85 of file BlockStateSerializerHelper.php.

◆ encodeChemistryTable()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeChemistryTable ( ChemistryTable $block,
Writer $out )
static

Definition at line 71 of file BlockStateSerializerHelper.php.

◆ encodeCrops()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeCrops ( Crops $block,
Writer $out )
static

Definition at line 76 of file BlockStateSerializerHelper.php.

◆ encodeDoor()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeDoor ( Door $block,
Writer $out )
static

Definition at line 100 of file BlockStateSerializerHelper.php.

◆ encodeDoublePlant()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeDoublePlant ( DoublePlant $block,
Writer $out )
static

Definition at line 108 of file BlockStateSerializerHelper.php.

◆ encodeFenceGate()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeFenceGate ( FenceGate $block,
Writer $out )
static

Definition at line 113 of file BlockStateSerializerHelper.php.

◆ encodeFloorSign()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeFloorSign ( FloorSign $block,
Writer $out )
static

Definition at line 120 of file BlockStateSerializerHelper.php.

◆ encodeFurnace()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeFurnace ( Furnace $block,
string $unlitId,
string $litId )
static

Definition at line 125 of file BlockStateSerializerHelper.php.

◆ encodeItemFrame()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeItemFrame ( ItemFrame $block,
string $id )
static

Definition at line 130 of file BlockStateSerializerHelper.php.

◆ encodeLeaves()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeLeaves ( Leaves $block,
Writer $out )
static

Definition at line 137 of file BlockStateSerializerHelper.php.

◆ encodeLiquid()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeLiquid ( Liquid $block,
string $stillId,
string $flowingId )
static

Definition at line 143 of file BlockStateSerializerHelper.php.

◆ encodeLog()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeLog ( Wood $block,
string $unstrippedId,
string $strippedId )
static

Definition at line 148 of file BlockStateSerializerHelper.php.

◆ encodeMushroomBlock()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeMushroomBlock ( RedMushroomBlock $block,
Writer $out )
static

Definition at line 156 of file BlockStateSerializerHelper.php.

◆ encodeQuartz()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeQuartz ( int $axis,
Writer $out )
static

Definition at line 161 of file BlockStateSerializerHelper.php.

◆ encodeSapling()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeSapling ( Sapling $block,
Writer $out )
static

Definition at line 166 of file BlockStateSerializerHelper.php.

◆ encodeSimplePressurePlate()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeSimplePressurePlate ( SimplePressurePlate $block,
Writer $out )
static

Definition at line 171 of file BlockStateSerializerHelper.php.

◆ encodeSlab()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeSlab ( Slab $block,
string $singleId,
string $doubleId )
static

Definition at line 189 of file BlockStateSerializerHelper.php.

◆ encodeStairs()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeStairs ( Stair $block,
Writer $out )
static

Definition at line 195 of file BlockStateSerializerHelper.php.

◆ encodeStem()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeStem ( Stem $block,
Writer $out )
static

Definition at line 201 of file BlockStateSerializerHelper.php.

◆ encodeTorch()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeTorch ( Torch $block,
Writer $out )
static

Definition at line 80 of file BlockStateSerializerHelper.php.

◆ encodeTrapdoor()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeTrapdoor ( Trapdoor $block,
Writer $out )
static

Definition at line 210 of file BlockStateSerializerHelper.php.

◆ encodeWall()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeWall ( Wall $block,
Writer $out )
static

Definition at line 217 of file BlockStateSerializerHelper.php.

◆ encodeWallSign()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::encodeWallSign ( WallSign $block,
Writer $out )
static

Definition at line 226 of file BlockStateSerializerHelper.php.

◆ selectCopperId()

static pocketmine\data\bedrock\block\convert\BlockStateSerializerHelper::selectCopperId ( CopperOxidation $oxidation,
string $noneId,
string $exposedId,
string $weatheredId,
string $oxidizedId )
static

Definition at line 91 of file BlockStateSerializerHelper.php.


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