Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.block.BlockExpEvent Class Reference
Inheritance diagram for org.bukkit.event.block.BlockExpEvent:
org.bukkit.event.block.BlockEvent org.bukkit.event.Event org.bukkit.event.block.BlockBreakEvent org.bukkit.event.inventory.FurnaceExtractEvent

Public Member Functions

 BlockExpEvent (Block block, int exp)
int getExpToDrop ()
void setExpToDrop (int exp)
HandlerList getHandlers ()
- Public Member Functions inherited from org.bukkit.event.block.BlockEvent
 BlockEvent (final Block theBlock)
final Block getBlock ()
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 Event (boolean isAsync)
String getEventName ()
abstract HandlerList getHandlers ()
final boolean isAsynchronous ()

Static Public Member Functions

static HandlerList getHandlerList ()

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.block.BlockEvent
Block block

Detailed Description

An event that's called when a block yields experience.

Definition at line 9 of file BlockExpEvent.java.

Member Function Documentation

int org.bukkit.event.block.BlockExpEvent.getExpToDrop ( )

Get the experience dropped by the block after the event has processed

The experience to drop

Definition at line 24 of file BlockExpEvent.java.

24  {
25  return exp;
26  }
void org.bukkit.event.block.BlockExpEvent.setExpToDrop ( int  exp)

Set the amount of experience dropped by the block after the event has processed

exp1 or higher to drop experience, else nothing will drop

Definition at line 34 of file BlockExpEvent.java.

34  {
35  this.exp = exp;
36  }

The documentation for this class was generated from the following file: