Skip to content

BlockStateWriter ​

final class · pocketmine\data\bedrock\block\convert\BlockStateWriter · source

Methods ​

__construct() ​

php
public function __construct(string $id)

create() ​

php
public static function create(string $id) : self

getBlockStateData() ​

php
public function getBlockStateData() : \pocketmine\data\bedrock\block\BlockStateData

mapIntToInt() ​

php
public function mapIntToInt(string $name, \pocketmine\data\bedrock\block\convert\property\IntFromRawStateMap $map, int $value) : self

Deprecated

Deprecated.

mapIntToString() ​

php
public function mapIntToString(string $name, \pocketmine\data\bedrock\block\convert\property\IntFromRawStateMap $map, int $value) : self

Deprecated

Deprecated.

write5MinusHorizontalFacing() ​

php
public function write5MinusHorizontalFacing(int $value) : self

Deprecated

Deprecated.

writeBellAttachmentType() ​

php
public function writeBellAttachmentType(\pocketmine\block\utils\BellAttachmentType $attachmentType) : self

Deprecated

Deprecated.

writeBlockFace() ​

php
public function writeBlockFace(int $value) : self

Deprecated

Deprecated.

writeBool() ​

php
public function writeBool(string $name, bool $value) : self

writeCardinalHorizontalFacing() ​

php
public function writeCardinalHorizontalFacing(int $value) : self

Deprecated

Deprecated.

writeCoralFacing() ​

php
public function writeCoralFacing(int $value) : self

Deprecated

Deprecated.

writeEndRodFacingDirection() ​

php
public function writeEndRodFacingDirection(int $value) : self

Deprecated

Deprecated.

writeFacingDirection() ​

php
public function writeFacingDirection(int $value) : self

Deprecated

Deprecated.

writeFacingFlags() ​

php
public function writeFacingFlags(array $faces) : self

Deprecated

Deprecated.

writeFacingWithoutDown() ​

php
public function writeFacingWithoutDown(int $value) : self

Deprecated

Deprecated.

writeFacingWithoutUp() ​

php
public function writeFacingWithoutUp(int $value) : self

Deprecated

Deprecated.

writeHorizontalFacing() ​

php
public function writeHorizontalFacing(int $value) : self

Deprecated

Deprecated.

writeInt() ​

php
public function writeInt(string $name, int $value) : self

writeLegacyHorizontalFacing() ​

php
public function writeLegacyHorizontalFacing(int $value) : self

Deprecated

Deprecated.

writePillarAxis() ​

php
public function writePillarAxis(int $axis) : self

Deprecated

Deprecated.

writeSlabPosition() ​

php
public function writeSlabPosition(\pocketmine\block\utils\SlabType $slabType) : self

Deprecated

Deprecated.

writeString() ​

php
public function writeString(string $name, string $value) : self

writeTorchFacing() ​

php
public function writeTorchFacing(int $facing) : self

Deprecated

Deprecated.

writeUnitEnum() ​

php
public function writeUnitEnum(string $name, \pocketmine\data\bedrock\block\convert\property\EnumFromRawStateMap $map, \UnitEnum $case) : self

Deprecated

Deprecated.

writeWallConnectionType() ​

php
public function writeWallConnectionType(string $name, ?\pocketmine\block\utils\WallConnectionType $wallConnectionType) : self

Deprecated

Deprecated.

writeWeirdoHorizontalFacing() ​

php
public function writeWeirdoHorizontalFacing(int $value) : self

Deprecated

Deprecated.

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.