Phpcraft
|
Public Member Functions | |
write (Connection $con) | |
getStringAttributes () | |
Public Member Functions inherited from Phpcraft\Entity\Metadata | |
read (Connection $con) | |
__toString () | |
Public Attributes | |
$target_eid = null | |
Public Attributes inherited from Phpcraft\Entity\Living | |
$health = null | |
Public Attributes inherited from Phpcraft\Entity\Base | |
$burning = null | |
$crouching = null | |
$sprinting = null | |
$swimming = null | |
$invisible = null | |
$glowing = null | |
$elytraing = null | |
$custom_name = null | |
$silent = null | |
Protected Member Functions | |
read_ (Connection $con, int $index) | |
Additional Inherited Members | |
Static Public Member Functions inherited from Phpcraft\Entity\Insentient | |
static | getOffset (int $protocol_version) |
Static Public Member Functions inherited from Phpcraft\Entity\Metadata | |
static | writeByte (Connection $con, int $index, int $value) |
static | writeFloat (Connection $con, int $index, float $value) |
static | writeOptChat (Connection $con, int $index, ?ChatComponent $value) |
static | writeString (Connection $con, int $index, string $value) |
static | writeBoolean (Connection $con, int $index, bool $value) |
static | writeInt (Connection $con, int $index, $value) |
static | finish (Connection $con) |
Phpcraft\Entity\Guardian::getStringAttributes | ( | ) |
Reimplemented from Phpcraft\Entity\Living.
|
protected |
Connection | $con | |
int | $index |
IOException |
Reimplemented from Phpcraft\Entity\Living.
Phpcraft\Entity\Guardian::write | ( | Connection | $con | ) |
Writes non-null metadata values to the Connection's write buffer.
Connection | $con |
Reimplemented from Phpcraft\Entity\Living.
GMP string int null Phpcraft\Entity\Guardian::$target_eid = null |
The ID of the entity being targeted by the guardian. 0 = no entity.