Package net.minecraftforge.event.level
Class BlockEvent.CreateFluidSourceEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.BlockEvent.CreateFluidSourceEvent
- Enclosing class:
- BlockEvent
public static class BlockEvent.CreateFluidSourceEvent
extends net.minecraftforge.eventbus.api.Event
Fired to check whether a non-source block can turn into a source block.
A result of ALLOW causes a source block to be created even if the liquid
usually doesn't do that (like lava), and a result of DENY prevents creation
even if the liquid usually does do that (like water).
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
level
-
pos
-
state
-
-
Constructor Details
-
CreateFluidSourceEvent
-
-
Method Details
-
getLevel
-
getPos
-
getState
-