S15PacketEntityRelMove

Extends

Methods

getEntity()

getEntity(): Entity

Gets the entity this movement packet is about

Returns

Entity

The entity instance

Inherited from

S14PacketEntity.getEntity


getOnGround()

getOnGround(): boolean

Checks if the entity is on ground

Returns

boolean

True if the entity is on ground, false otherwise

Inherited from

S14PacketEntity.getOnGround


getPacketID()

getPacketID(): string

Get the ID of the packet.

Returns

string

The ID of the packet.

Inherited from

S14PacketEntity.getPacketID


getPitch()

getPitch(): number

Gets the pitch rotation in degrees

Returns

number

The pitch angle

Inherited from

S14PacketEntity.getPitch


getX()

getX(): number

Gets the relative X movement

Returns

number

The X movement delta

Inherited from

S14PacketEntity.getX


getY()

getY(): number

Gets the relative Y movement

Returns

number

The Y movement delta

Inherited from

S14PacketEntity.getY


getYaw()

getYaw(): number

Gets the yaw rotation in degrees

Returns

number

The yaw angle

Inherited from

S14PacketEntity.getYaw


getZ()

getZ(): number

Gets the relative Z movement

Returns

number

The Z movement delta

Inherited from

S14PacketEntity.getZ

Last updated