Class BlockPlacementMessage

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

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

    • BlockPlacementMessage

      public BlockPlacementMessage(int x, int y, int z, int direction, int hand, float cursorX, float cursorY, float cursorZ)
  • Method Details

    • getHandSlot

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

      public int getX()
    • getY

      public int getY()
    • getZ

      public int getZ()
    • getDirection

      public int getDirection()
    • getHand

      public int getHand()
    • getCursorX

      public float getCursorX()
    • getCursorY

      public float getCursorY()
    • getCursorZ

      public float getCursorZ()
    • 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