Class BlockPlaceEvent

All Implemented Interfaces:
Cancellable

public class BlockPlaceEvent extends BlockEvent implements Cancellable
Author:
MagicDroidX (Nukkit Project)
  • Field Details

    • player

      protected final Player player
    • item

      protected final Item item
    • blockReplace

      protected final Block blockReplace
    • blockAgainst

      protected final Block blockAgainst
  • Constructor Details

    • BlockPlaceEvent

      public BlockPlaceEvent(Player player, Block blockPlace, Block blockReplace, Block blockAgainst, Item item)
  • Method Details

    • getHandlers

      public static HandlerList getHandlers()
    • getPlayer

      public Player getPlayer()
    • getItem

      public Item getItem()
    • getBlockReplace

      public Block getBlockReplace()
    • getBlockAgainst

      public Block getBlockAgainst()