Class InteractEntityMessage

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

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

    • InteractEntityMessage

      public InteractEntityMessage(int id, int action)
    • InteractEntityMessage

      public InteractEntityMessage(int id, int action, int hand)
    • InteractEntityMessage

      public InteractEntityMessage(int id, int action, float targetX, float targetY, float targetZ, int hand)
  • Method Details

    • getHandSlot

      public org.bukkit.inventory.EquipmentSlot getHandSlot()
    • getId

      public int getId()
    • getAction

      public int getAction()
    • getTargetX

      public float getTargetX()
    • getTargetY

      public float getTargetY()
    • getTargetZ

      public float getTargetZ()
    • getHand

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