public class BlockExpEvent extends BlockEvent
Event.Resultblock| 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)
ブロックを破壊した時に出てくる経験値の量を設定します。
|
getBlockgetEventName, isAsynchronouspublic BlockExpEvent(Block block, int exp)
public int getExpToDrop()
public void setExpToDrop(int exp)
exp - 通常では経験値の出さないブロックからも経験値が出るようになります。public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2015. All rights reserved.