Class EntityVelocityMessage

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

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

    • EntityVelocityMessage

      public EntityVelocityMessage(int id, org.bukkit.util.Vector velocity)
    • EntityVelocityMessage

      public EntityVelocityMessage(int id, int velocityX, int velocityY, int velocityZ)
  • Method Details

    • getId

      public int getId()
    • getVelocityX

      public int getVelocityX()
    • getVelocityY

      public int getVelocityY()
    • getVelocityZ

      public int getVelocityZ()
    • 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