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).