Class BlockHandler.Placement

java.lang.Object
net.minestom.server.instance.block.BlockHandler.Placement
Direct Known Subclasses:
BlockHandler.PlayerPlacement
Enclosing interface:
BlockHandler

public static sealed class BlockHandler.Placement extends Object permits BlockHandler.PlayerPlacement
Represents an object forwarded to BlockHandler.onPlace(Placement).
  • Constructor Details

    • Placement

      @Internal public Placement(Block block, Instance instance, Point blockPosition)
  • Method Details

    • getBlock

      @NotNull public @NotNull Block getBlock()
    • getInstance

      @NotNull public @NotNull Instance getInstance()
    • getBlockPosition

      @NotNull public @NotNull Point getBlockPosition()