|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.minecraftforge.event.Event
net.minecraftforge.liquids.LiquidEvent
public class LiquidEvent
| Nested Class Summary | |
|---|---|
static class |
LiquidEvent.LiquidDrainingEvent
Mods should fire this event when a liquid is ILiquidTank.drain(int, boolean) from their tank. |
static class |
LiquidEvent.LiquidFillingEvent
Mods should fire this event when a liquid is ILiquidTank.fill(LiquidStack, boolean) their tank implementation. |
static class |
LiquidEvent.LiquidMotionEvent
Mods should fire this event when they move liquids around (pipe networks etc) |
static class |
LiquidEvent.LiquidSpilledEvent
Mods should fire this event when a liquid "spills", for example, if a block containing liquid is broken. |
| Nested classes/interfaces inherited from class net.minecraftforge.event.Event |
|---|
Event.HasResult, Event.Result |
| Field Summary | |
|---|---|
LiquidStack |
liquid
|
World |
world
|
int |
x
|
int |
y
|
int |
z
|
| Constructor Summary | |
|---|---|
LiquidEvent(LiquidStack liquid,
World world,
int x,
int y,
int z)
|
|
| Method Summary | |
|---|---|
static void |
fireEvent(LiquidEvent event)
A handy shortcut for firing the various liquid events |
| Methods inherited from class net.minecraftforge.event.Event |
|---|
getListenerList, getResult, hasResult, isCancelable, isCanceled, setCanceled, setResult |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final LiquidStack liquid
public final int x
public final int y
public final int z
public final World world
| Constructor Detail |
|---|
public LiquidEvent(LiquidStack liquid,
World world,
int x,
int y,
int z)
| Method Detail |
|---|
public static final void fireEvent(LiquidEvent event)
event -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||