Phpcraft
|
Public Member Functions | |
write (Connection $con) | |
getStringAttributes () | |
Public Member Functions inherited from Phpcraft\Entity\Metadata | |
read (Connection $con) | |
__toString () | |
Static Public Member Functions | |
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) |
Public Attributes | |
$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) | |
|
static |
Reimplemented in Phpcraft\Entity\Insentient.
Phpcraft\Entity\Base::getStringAttributes | ( | ) |
Reimplemented from Phpcraft\Entity\Metadata.
Reimplemented in Phpcraft\Entity\Guardian, Phpcraft\Entity\Creeper, and Phpcraft\Entity\Living.
|
protected |
Connection | $con | |
int | $index |
IOException |
Reimplemented from Phpcraft\Entity\Metadata.
Reimplemented in Phpcraft\Entity\Guardian, Phpcraft\Entity\Creeper, and Phpcraft\Entity\Living.
Phpcraft\Entity\Base::write | ( | Connection | $con | ) |
Writes non-null metadata values to the Connection's write buffer.
Connection | $con |
Reimplemented from Phpcraft\Entity\Metadata.
Reimplemented in Phpcraft\Entity\Guardian, Phpcraft\Entity\Creeper, and Phpcraft\Entity\Living.
boolean null Phpcraft\Entity\Base::$burning = null |
boolean null Phpcraft\Entity\Base::$crouching = null |
ChatComponent null Phpcraft\Entity\Base::$custom_name = null |
Custom name of the entity.
boolean null Phpcraft\Entity\Base::$elytraing = null |
boolean null Phpcraft\Entity\Base::$glowing = null |
boolean null Phpcraft\Entity\Base::$invisible = null |
boolean null Phpcraft\Entity\Base::$silent = null |
boolean null Phpcraft\Entity\Base::$sprinting = null |
boolean null Phpcraft\Entity\Base::$swimming = null |