Class RelativeEntityPositionMessage

java.lang.Object
net.glowstone.net.message.play.entity.RelativeEntityPositionMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public final class RelativeEntityPositionMessage extends Object implements com.flowpowered.network.Message
  • Constructor Details

    • RelativeEntityPositionMessage

      public RelativeEntityPositionMessage(int id, short deltaX, short deltaY, short deltaZ)
    • RelativeEntityPositionMessage

      public RelativeEntityPositionMessage(int id, short deltaX, short deltaY, short deltaZ, boolean onGround)
  • Method Details

    • getId

      public int getId()
    • getDeltaX

      public short getDeltaX()
    • getDeltaY

      public short getDeltaY()
    • getDeltaZ

      public short getDeltaZ()
    • isOnGround

      public boolean isOnGround()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • 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