public class BlockExpEvent extends BlockEvent
Event.Result
block
Constructor and Description |
---|
BlockExpEvent(Block block,
int exp) |
Modifier and Type | Method and Description |
---|---|
int |
getExpToDrop()
ブロックを破壊した時に出てくる経験値の量を取得します。
|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
void |
setExpToDrop(int exp)
ブロックを破壊した時に出てくる経験値の量を設定します。
|
getBlock
getEventName, isAsynchronous
public BlockExpEvent(Block block, int exp)
public int getExpToDrop()
public void setExpToDrop(int exp)
exp
- 通常では経験値の出さないブロックからも経験値が出るようになります。public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2015. All rights reserved.