Vec3MetadataProperty
in package
implements
MetadataProperty
Uses
GetTypeIdFromConstTrait
Interfaces, Classes, Traits and Enums
Table of Contents
- ID = \pocketmine\network\mcpe\protocol\types\entity\EntityMetadataTypes::VECTOR3F
- $value : Vector3
- __construct() : mixed
- equals() : bool
- getTypeId() : int
- getValue() : Vector3
- read() : self
- write() : void
Constants
ID
public
mixed
ID
= \pocketmine\network\mcpe\protocol\types\entity\EntityMetadataTypes::VECTOR3F
Properties
$value
private
Vector3
$value
Methods
__construct()
public
__construct(Vector3 $value) : mixed
Parameters
- $value : Vector3
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() : Vector3
Return values
Vector3 —read()
public
static read(PacketSerializer $in) : self
Parameters
- $in : PacketSerializer
Return values
self —write()
public
write(PacketSerializer $out) : void
Parameters
- $out : PacketSerializer