S0CPacketSpawnPlayer
getEntityId(): int
getEntityId(): intReturns the entity ID of the spawned player. This is an integer value uniquely identifying the player entity in the game world.
getPlayer(): String
getPlayer(): StringRetrieves a string representation of the player object associated with this packet. This typically contains player-specific information.
getX(): double
getX(): doubleReturns 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(): doubleReturns 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(): doubleReturns 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(): floatRetrieves the yaw (horizontal rotation) value for the spawned player. This is a float value indicating the direction the player is facing.
getPitch(): float
getPitch(): floatProvides 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(): intReturns the item ID of the current item held by the player.
Last updated