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

Public Member Functions

 BrewEvent (Block brewer, BrewerInventory contents)
 
BrewerInventory getContents ()
 
boolean isCancelled ()
 
void setCancelled (boolean cancel)
 
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

Called when the brewing of the contents inside the Brewing Stand is complete.

Definition at line 13 of file BrewEvent.java.

Member Function Documentation

BrewerInventory org.bukkit.event.inventory.BrewEvent.getContents ( )

Gets the contents of the Brewing Stand.

Returns
the contents

Definition at line 28 of file BrewEvent.java.

28  {
29  return contents;
30  }
boolean org.bukkit.event.inventory.BrewEvent.isCancelled ( )

Gets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins

Returns
true if this event is cancelled

Implements org.bukkit.event.Cancellable.

Definition at line 32 of file BrewEvent.java.

32  {
33  return cancelled;
34  }
void org.bukkit.event.inventory.BrewEvent.setCancelled ( boolean  cancel)

Sets the cancellation state of this event. A cancelled event will not be executed in the server, but will still pass to other plugins.

Parameters
canceltrue if you wish to cancel this event

Implements org.bukkit.event.Cancellable.

Definition at line 36 of file BrewEvent.java.

36  {
37  cancelled = cancel;
38  }

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