BlockPosMetadataProperty
in package
implements
MetadataProperty
Uses
GetTypeIdFromConstTrait
Interfaces, Classes, Traits and Enums
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\entity\EntityMetadataTypes::POS
- $value : BlockPosition
- __construct() : mixed
- equals() : bool
- getTypeId() : int
- getValue() : BlockPosition
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\entity\EntityMetadataTypes::POS
Properties
$value
private
BlockPosition
$value
Methods
__construct()
public
__construct(BlockPosition $value) : mixed
Parameters
- $value : BlockPosition
Return values
mixed —equals()
public
equals(MetadataProperty $other) : bool
Parameters
- $other : MetadataProperty
Return values
bool —getTypeId()
public
getTypeId() : int
Return values
int —getValue()
public
getValue() : BlockPosition
Return values
BlockPosition —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer