public class BlockPlaceEvent extends BlockEvent implements Cancellable
| Modifier and Type | Field and Description |
|---|---|
protected Block |
blockAgainst |
protected BlockState |
blockPlace |
protected Item |
item |
protected Player |
player |
block| Constructor and Description |
|---|
BlockPlaceEvent(Player player,
BlockState blockPlace,
Block blockReplace,
Block blockAgainst,
Item item) |
| Modifier and Type | Method and Description |
|---|---|
Block |
getBlockAgainst() |
BlockState |
getBlockPlace() |
static HandlerList |
getHandlers() |
Item |
getItem() |
Player |
getPlayer() |
getBlockgetEventName, isCancelled, setCancelled, setCancelledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisCancelled, setCancelled, setCancelledprotected final Player player
protected final Item item
protected final BlockState blockPlace
protected final Block blockAgainst
public BlockPlaceEvent(Player player, BlockState blockPlace, Block blockReplace, Block blockAgainst, Item item)
public static HandlerList getHandlers()
public Player getPlayer()
public Item getItem()
public BlockState getBlockPlace()
public Block getBlockAgainst()
Copyright © 2020. All rights reserved.