Class BlockEvent.PortalSpawnEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.event.level.BlockEvent
net.minecraftforge.event.level.BlockEvent.PortalSpawnEvent
Enclosing class:
BlockEvent

public static class BlockEvent.PortalSpawnEvent extends BlockEvent
Fired when an attempt is made to spawn a nether portal from BaseFireBlock.onPlace(BlockState, Level, BlockPos, BlockState, boolean). If cancelled, the portal will not be spawned.