Package net.minecraftforge.event.world
Class BlockEvent.CreateFluidSourceEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.world.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
Modifier and TypeFieldDescriptionprivate final BlockPos
private final BlockState
private final IWorldReader
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getParentListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setup
-
Field Details
-
world
-
pos
-
state
-
-
Constructor Details
-
CreateFluidSourceEvent
-
-
Method Details
-
getWorld
-
getPos
-
getState
-