S0FPacketSpawnMob

getEntityID(): int

Returns the entity ID of the spawned mob. This is an integer value uniquely identifying the mob entity in the game world.

getEntityType(): int

Retrieves the type of the mob entity. This is an integer value representing the specific type or species of the mob.

getX(): int

Returns the X-coordinate where the mob is spawned. This is an integer value representing the mob's horizontal position along the X-axis.

getY(): int

Returns the Y-coordinate where the mob is spawned. This is an integer value representing the mob's vertical position along the Y-axis.

getZ(): int

Returns the Z-coordinate where the mob is spawned. This is an integer value representing the mob's horizontal position along the Z-axis.

getVelocityX(): int

Retrieves the X-axis velocity of the spawned mob. This is an integer value indicating the mob's horizontal movement speed along the X-axis.

getVelocityY(): int

Retrieves the Y-axis velocity of the spawned mob. This is an integer value indicating the mob's vertical movement speed along the Y-axis.

getVelocityZ(): int

Retrieves the Z-axis velocity of the spawned mob. This is an integer value indicating the mob's horizontal movement speed along the Z-axis.

getPitch(): float

Returns the pitch (vertical rotation) of the mob. This is an float value representing the vertical orientation of the mob's view.

getYaw(): float

Returns the yaw (horizontal rotation) of the mob. This is an float value representing the direction the mob is facing.

getHeadPitch(): float

Provides the head pitch (vertical rotation of the head) of the mob. This is a float value indicating the vertical orientation of the mob's head.

Last updated