S0CPacketSpawnPlayer
getEntityId(): int
getEntityId(): int
Returns the entity ID of the spawned player. This is an integer value uniquely identifying the player entity in the game world.
getPlayer(): String
getPlayer(): String
Retrieves a string representation of the player object associated with this packet. This typically contains player-specific information.
getX(): double
getX(): double
Returns the X-coordinate where the player is spawned. This is an double value representing the player's horizontal position along the X-axis.
getY(): double
getY(): double
Returns the Y-coordinate where the player is spawned. This is an double value representing the player's vertical position along the Y-axis.
getZ(): double
getZ(): double
Returns the Z-coordinate where the player is spawned. This is an double value representing the player's horizontal position along the Z-axis.
getYaw(): float
getYaw(): float
Retrieves the yaw (horizontal rotation) value for the spawned player. This is a float value indicating the direction the player is facing.
getPitch(): float
getPitch(): float
Provides the pitch (vertical rotation) value for the spawned player. This is a float value indicating the vertical orientation of the player's view.
getCurrentItemID(): int
getCurrentItemID(): int
Returns the item ID of the current item held by the player.
Last updated