SpawnSettings
Table of Contents
-
BIOME_TYPE_DEFAULT
= 0
-
BIOME_TYPE_USER_DEFINED
= 1
-
$biomeName
: string
-
$biomeType
: int
-
$dimension
: int
-
__construct()
: mixed
-
getBiomeName()
: string
-
getBiomeType()
: int
-
getDimension()
: int
-
read()
: self
-
write()
: void
BIOME_TYPE_DEFAULT
public
mixed
BIOME_TYPE_DEFAULT
= 0
BIOME_TYPE_USER_DEFINED
public
mixed
BIOME_TYPE_USER_DEFINED
= 1
$biomeName
private
string
$biomeName
$biomeType
private
int
$biomeType
$dimension
private
int
$dimension
__construct()
public
__construct(int $biomeType, string $biomeName, int $dimension) : mixed
Parameters
-
$biomeType
: int
-
-
$biomeName
: string
-
-
$dimension
: int
-
Return values
mixed
—
getBiomeName()
public
getBiomeName() : string
Return values
string
—
getBiomeType()
public
getBiomeType() : int
Return values
int
—
getDimension()
public
getDimension() : int
-
see
-
DimensionIds
Return values
int
—
read()
public
static read(PacketSerializer $in) : self
Parameters
-
$in
: PacketSerializer
-
Return values
self
—
write()
public
write(PacketSerializer $out) : void
Parameters
-
$out
: PacketSerializer
-
Return values
void
—