BlockStateWriter
Methods
__construct()
php
public function __construct(string $id)create()
php
public static function create(string $id) : selfgetBlockStateData()
php
public function getBlockStateData() : \pocketmine\data\bedrock\block\BlockStateDatamapIntToInt()
php
public function mapIntToInt(string $name, \pocketmine\data\bedrock\block\convert\property\IntFromRawStateMap $map, int $value) : selfDeprecated
Deprecated.
mapIntToString()
php
public function mapIntToString(string $name, \pocketmine\data\bedrock\block\convert\property\IntFromRawStateMap $map, int $value) : selfDeprecated
Deprecated.
write5MinusHorizontalFacing()
php
public function write5MinusHorizontalFacing(int $value) : selfDeprecated
Deprecated.
writeBellAttachmentType()
php
public function writeBellAttachmentType(\pocketmine\block\utils\BellAttachmentType $attachmentType) : selfDeprecated
Deprecated.
writeBlockFace()
php
public function writeBlockFace(int $value) : selfDeprecated
Deprecated.
writeBool()
php
public function writeBool(string $name, bool $value) : selfwriteCardinalHorizontalFacing()
php
public function writeCardinalHorizontalFacing(int $value) : selfDeprecated
Deprecated.
writeCoralFacing()
php
public function writeCoralFacing(int $value) : selfDeprecated
Deprecated.
writeEndRodFacingDirection()
php
public function writeEndRodFacingDirection(int $value) : selfDeprecated
Deprecated.
writeFacingDirection()
php
public function writeFacingDirection(int $value) : selfDeprecated
Deprecated.
writeFacingFlags()
php
public function writeFacingFlags(array $faces) : selfDeprecated
Deprecated.
writeFacingWithoutDown()
php
public function writeFacingWithoutDown(int $value) : selfDeprecated
Deprecated.
writeFacingWithoutUp()
php
public function writeFacingWithoutUp(int $value) : selfDeprecated
Deprecated.
writeHorizontalFacing()
php
public function writeHorizontalFacing(int $value) : selfDeprecated
Deprecated.
writeInt()
php
public function writeInt(string $name, int $value) : selfwriteLegacyHorizontalFacing()
php
public function writeLegacyHorizontalFacing(int $value) : selfDeprecated
Deprecated.
writePillarAxis()
php
public function writePillarAxis(int $axis) : selfDeprecated
Deprecated.
writeSlabPosition()
php
public function writeSlabPosition(\pocketmine\block\utils\SlabType $slabType) : selfDeprecated
Deprecated.
writeString()
php
public function writeString(string $name, string $value) : selfwriteTorchFacing()
php
public function writeTorchFacing(int $facing) : selfDeprecated
Deprecated.
writeUnitEnum()
php
public function writeUnitEnum(string $name, \pocketmine\data\bedrock\block\convert\property\EnumFromRawStateMap $map, \UnitEnum $case) : selfDeprecated
Deprecated.
writeWallConnectionType()
php
public function writeWallConnectionType(string $name, ?\pocketmine\block\utils\WallConnectionType $wallConnectionType) : selfDeprecated
Deprecated.
writeWeirdoHorizontalFacing()
php
public function writeWeirdoHorizontalFacing(int $value) : selfDeprecated
Deprecated.
