BlockDataSerializer
Table of Contents
-
read5MinusHorizontalFacing()
: int
-
readBoundedInt()
: int
-
readCoralFacing()
: int
-
readFacing()
: int
-
readHorizontalFacing()
: int
-
readLegacyHorizontalFacing()
: int
-
write5MinusHorizontalFacing()
: int
-
writeCoralFacing()
: int
-
writeFacing()
: int
-
writeHorizontalFacing()
: int
-
writeLegacyHorizontalFacing()
: int
-
__construct()
: mixed
read5MinusHorizontalFacing()
public
static read5MinusHorizontalFacing(int $value) : int
Parameters
-
$value
: int
-
-
throws
-
InvalidBlockStateException
Return values
int
—
readBoundedInt()
public
static readBoundedInt(string $name, int $v, int $min, int $max) : int
Parameters
-
$name
: string
-
-
$v
: int
-
-
$min
: int
-
-
$max
: int
-
Return values
int
—
readCoralFacing()
public
static readCoralFacing(int $value) : int
Parameters
-
$value
: int
-
Return values
int
—
readFacing()
public
static readFacing(int $raw) : int
Parameters
-
$raw
: int
-
-
throws
-
InvalidBlockStateException
Return values
int
—
readHorizontalFacing()
public
static readHorizontalFacing(int $facing) : int
Parameters
-
$facing
: int
-
-
throws
-
InvalidBlockStateException
Return values
int
—
readLegacyHorizontalFacing()
public
static readLegacyHorizontalFacing(int $raw) : int
Parameters
-
$raw
: int
-
-
throws
-
InvalidBlockStateException
Return values
int
—
write5MinusHorizontalFacing()
public
static write5MinusHorizontalFacing(int $value) : int
Parameters
-
$value
: int
-
Return values
int
—
writeCoralFacing()
public
static writeCoralFacing(int $value) : int
Parameters
-
$value
: int
-
Return values
int
—
writeFacing()
public
static writeFacing(int $facing) : int
Parameters
-
$facing
: int
-
Return values
int
—
writeHorizontalFacing()
public
static writeHorizontalFacing(int $facing) : int
Parameters
-
$facing
: int
-
Return values
int
—
writeLegacyHorizontalFacing()
public
static writeLegacyHorizontalFacing(int $facing) : int
Parameters
-
$facing
: int
-
Return values
int
—
__construct()
private
__construct() : mixed
Return values
mixed
—