public static class BlockEvent.PortalSpawnEvent extends BlockEvent
BlockEvent.BreakEvent, BlockEvent.CreateFluidSourceEvent, BlockEvent.CropGrowEvent, BlockEvent.EntityMultiPlaceEvent, BlockEvent.EntityPlaceEvent, BlockEvent.FarmlandTrampleEvent, BlockEvent.FluidPlaceBlockEvent, BlockEvent.HarvestDropsEvent, BlockEvent.NeighborNotifyEvent, BlockEvent.PortalSpawnEvent
Modifier and Type | Field and Description |
---|---|
private NetherPortalBlock.Size |
size |
Constructor and Description |
---|
PortalSpawnEvent(IWorld world,
BlockPos pos,
BlockState state,
NetherPortalBlock.Size size) |
Modifier and Type | Method and Description |
---|---|
NetherPortalBlock.Size |
getPortalSize() |
getPos, getState, getWorld
private final NetherPortalBlock.Size size
public PortalSpawnEvent(IWorld world, BlockPos pos, BlockState state, NetherPortalBlock.Size size)
public NetherPortalBlock.Size getPortalSize()