Class PlayerUpdateMessage

java.lang.Object
net.glowstone.net.message.play.player.PlayerUpdateMessage
All Implemented Interfaces:
com.flowpowered.network.Message
Direct Known Subclasses:
PlayerLookMessage, PlayerPositionLookMessage, PlayerPositionMessage

public class PlayerUpdateMessage extends Object implements com.flowpowered.network.Message
Base class for player update messages.
  • Constructor Details

    • PlayerUpdateMessage

      public PlayerUpdateMessage(boolean onGround)
  • Method Details

    • update

      public void update(org.bukkit.Location location)
    • moved

      public boolean moved()
    • isOnGround

      public boolean isOnGround()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object