YATS/Forge Documentation
 All Classes Namespaces Files Functions Variables Enumerator Pages
net.minecraftforge.liquids.LiquidEvent Class Reference
Inheritance diagram for net.minecraftforge.liquids.LiquidEvent:
net.minecraftforge.event.Event

Classes

class  LiquidDrainingEvent
 
class  LiquidFillingEvent
 
class  LiquidMotionEvent
 
class  LiquidSpilledEvent
 

Public Member Functions

 LiquidEvent (LiquidStack liquid, World world, int x, int y, int z)
 
- Public Member Functions inherited from net.minecraftforge.event.Event
 Event ()
 
boolean isCancelable ()
 
boolean isCanceled ()
 
void setCanceled (boolean cancel)
 
boolean hasResult ()
 
Result getResult ()
 
void setResult (Result value)
 
ListenerList getListenerList ()
 

Static Public Member Functions

static final void fireEvent (LiquidEvent event)
 

Public Attributes

final LiquidStack liquid
 
final int x
 
final int y
 
final int z
 
final World world
 

Additional Inherited Members

- Protected Member Functions inherited from net.minecraftforge.event.Event
void setup ()
 

Constructor & Destructor Documentation

net.minecraftforge.liquids.LiquidEvent.LiquidEvent ( LiquidStack  liquid,
World  world,
int  x,
int  y,
int  z 
)

Member Function Documentation

static final void net.minecraftforge.liquids.LiquidEvent.fireEvent ( LiquidEvent  event)
static

A handy shortcut for firing the various liquid events

Parameters
event

Member Data Documentation

final LiquidStack net.minecraftforge.liquids.LiquidEvent.liquid
final World net.minecraftforge.liquids.LiquidEvent.world
final int net.minecraftforge.liquids.LiquidEvent.x
final int net.minecraftforge.liquids.LiquidEvent.y
final int net.minecraftforge.liquids.LiquidEvent.z

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