Class PlayerPositionMessage

java.lang.Object
net.glowstone.net.message.play.player.PlayerUpdateMessage
net.glowstone.net.message.play.player.PlayerPositionMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public final class PlayerPositionMessage extends PlayerUpdateMessage
  • Constructor Details

    • PlayerPositionMessage

      public PlayerPositionMessage(boolean onGround, double x, double y, double z)
      Creates a message to update a player's location.
      Parameters:
      x - the player's X coordinate
      y - the player's Y coordinate
      z - the player's Z coordinate
      onGround - whether the player is on the ground
  • Method Details