public class PlayerItemBreakEvent extends PlayerEvent
The item that's breaking will exist in the inventory with a stack size of 0. After the event, the item's durability will be reset to 0.
Event.Resultplayer| コンストラクタと説明 |
|---|
PlayerItemBreakEvent(Player player,
ItemStack brokenItem) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
ItemStack |
getBrokenItem()
Gets the item that broke
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
getPlayergetEventName, isAsynchronouspublic ItemStack getBrokenItem()
public HandlerList getHandlers()
getHandlers クラス内 Eventpublic static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.