Class BlockHandler.Interaction

java.lang.Object
net.minestom.server.instance.block.BlockHandler.Interaction
Enclosing interface:
BlockHandler

public static final class BlockHandler.Interaction extends Object
  • Constructor Details

    • Interaction

      @Internal public Interaction(Block block, Instance instance, net.minestom.server.coordinate.Point blockPosition, net.minestom.server.coordinate.Point cursorPosition, Player player, Player.Hand hand)
  • Method Details

    • getBlock

      @NotNull public @NotNull Block getBlock()
    • getInstance

      @NotNull public @NotNull Instance getInstance()
    • getBlockPosition

      @NotNull public @NotNull net.minestom.server.coordinate.Point getBlockPosition()
    • getCursorPosition

      @NotNull public @NotNull net.minestom.server.coordinate.Point getCursorPosition()
    • getPlayer

      @NotNull public @NotNull Player getPlayer()
    • getHand

      @NotNull public Player.Hand getHand()