BlockExpEvent

public class BlockExpEvent extends BlockEvent

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

Inheritors

Constructors

Link copied to clipboard
public void BlockExpEvent(Block block, int exp)

Properties

Link copied to clipboard
public final static HandlerList handlers

Functions

Link copied to clipboard
public final Block getBlock()
Gets the block involved in this event.
Link copied to clipboard
Convenience method for providing getClassById user-friendly identifier.
Link copied to clipboard
public int getExpToDrop()
Get the experience dropped by the block after the event has processed
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
Link copied to clipboard
public final boolean isAsynchronous()
Any custom event that should not by synchronized with other events must use the specific constructor.
Link copied to clipboard
public void setExpToDrop(int exp)
Set the amount of experience dropped by the block after the event has processed