public class FurnaceBurnEvent extends BlockEvent implements Cancellable
Event.Resultblock| コンストラクタと説明 |
|---|
FurnaceBurnEvent(Block furnace,
ItemStack fuel,
int burnTime) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
int |
getBurnTime()
Gets the burn time for this fuel
|
ItemStack |
getFuel()
Gets the fuel ItemStack for this event
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
boolean |
isBurning()
Gets whether the furnace's fuel is burning or not.
|
boolean |
isCancelled()
Gets the cancellation state of this event.
|
void |
setBurning(boolean burning)
Sets whether the furnace's fuel is burning or not.
|
void |
setBurnTime(int burnTime)
Sets the burn time for this fuel
|
void |
setCancelled(boolean cancel)
Sets the cancellation state of this event.
|
getBlockgetEventName, isAsynchronouspublic ItemStack getFuel()
public int getBurnTime()
public void setBurnTime(int burnTime)
burnTime - the burn time for this fuelpublic boolean isBurning()
public void setBurning(boolean burning)
burning - true if the furnace's fuel is burningpublic boolean isCancelled()
CancellableisCancelled インタフェース内 Cancellablepublic void setCancelled(boolean cancel)
CancellablesetCancelled インタフェース内 Cancellablecancel - true if you wish to cancel this eventpublic HandlerList getHandlers()
getHandlers クラス内 Eventpublic static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.