BlockBreakEvent, FurnaceExtractEventpublic class BlockExpEvent extends BlockEvent
Event.Resultblock| Constructor | Description | 
|---|---|
| BlockExpEvent(Block block,
             int exp) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| int | getExpToDrop() | Get the experience dropped by the block after the event has processed | 
| static HandlerList | getHandlerList() | |
| HandlerList | getHandlers() | |
| void | setExpToDrop(int exp) | Set the amount of experience dropped by the block after the event has
 processed | 
getBlockcallEvent, getEventName, isAsynchronouspublic BlockExpEvent(Block block, int exp)
public int getExpToDrop()
public void setExpToDrop(int exp)
exp - 1 or higher to drop experience, else nothing will droppublic HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.