BlockBindFromItemEvent

Constructors

Link copied to clipboard
public void BlockBindFromItemEvent(Block block, BaseSetting setting, UUID uuid, BindType bindType, ItemStack handItem, Player player, boolean isMultiPlace)

Properties

Link copied to clipboard
Link copied to clipboard
public final Block block
绑定的物品
Link copied to clipboard
Link copied to clipboard
public final ItemStack handItem
玩家手上的物品
Link copied to clipboard
public final static HandlerList handlers
public final static HandlerList handlers
Link copied to clipboard
public boolean isCancelled
Link copied to clipboard
public final boolean isMultiPlace
Link copied to clipboard
public UUID owner
Link copied to clipboard
public final Player player
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
public Block getBlock()
Link copied to clipboard
Link copied to clipboard
此处的数据会随着方块主人、配置一起储存。 最终会使用类似 String::join 的方式组合成一个字符串 分隔符 delimiter 是制表符 '\t' 请不要在数据中出现 '\t'
Link copied to clipboard
public ItemStack getHandItem()
玩家手上的物品
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
public abstract HandlerList getHandlers()
public HandlerList getHandlers()
Link copied to clipboard
public UUID getOwner()
Link copied to clipboard
public Player getPlayer()
Link copied to clipboard
Link copied to clipboard
public final boolean isAsynchronous()
Link copied to clipboard
public boolean isCancelled()
Link copied to clipboard
public boolean isMultiPlace()
Link copied to clipboard
public void setBindType(BindType bindType)
Link copied to clipboard
public void setCancelled(boolean cancelled)
Link copied to clipboard
public void setExtraData(List<String> extraData)
Link copied to clipboard
public void setOwner(UUID owner)
Link copied to clipboard
public void setSetting(BaseSetting setting)