PlayerDenyMessageEvent

public class PlayerDenyMessageEvent extends Event implements Cancellable

Constructors

Link copied to clipboard
public void PlayerDenyMessageEvent(HumanEntity player, BaseSetting setting, String message, Boolean isCoolDown, ItemStack item, Block block, Entity entity)
public void PlayerDenyMessageEvent(HumanEntity player, BaseSetting setting, String message, Boolean isCoolDown, ItemStack item)
public void PlayerDenyMessageEvent(HumanEntity player, BaseSetting setting, String message, Boolean isCoolDown, Block block)
public void PlayerDenyMessageEvent(HumanEntity player, BaseSetting setting, String message, Boolean isCoolDown, Entity entity)

Properties

Link copied to clipboard
public final Block block
Link copied to clipboard
public final Entity entity
Link copied to clipboard
public final static HandlerList handlers
Link copied to clipboard
public boolean isCancelled
Link copied to clipboard
public final ItemStack item
Link copied to clipboard
public String message
提示的消息
Link copied to clipboard
public final HumanEntity player
Link copied to clipboard
public final BaseSetting setting

Functions

Link copied to clipboard
public Block getBlock()
Link copied to clipboard
Link copied to clipboard
public Entity getEntity()
Link copied to clipboard
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
public abstract HandlerList getHandlers()
public HandlerList getHandlers()
Link copied to clipboard
public ItemStack getItem()
Link copied to clipboard
public String getMessage()
Link copied to clipboard
public HumanEntity getPlayer()
Link copied to clipboard
Link copied to clipboard
public final boolean isAsynchronous()
Link copied to clipboard
public abstract boolean isCancelled()
public boolean isCancelled()
Link copied to clipboard
public abstract void setCancelled(boolean p)
public void setCancelled(boolean cancel)
Link copied to clipboard
public void setCoolDown(Boolean coolDown)
Link copied to clipboard
public void setMessage(String message)