public class MCPortalSpawnEvent extends MCBlockEvent implements crafttweaker.api.event.PortalSpawnEvent
| Constructor and Description |
|---|
MCPortalSpawnEvent(net.minecraftforge.event.world.BlockEvent.PortalSpawnEvent event) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHeight() |
int |
getWidth() |
boolean |
isCanceled() |
boolean |
isValid() |
void |
setCanceled(boolean canceled) |
getBlockState, getPosition, getWorldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlock, getBlockState, getWorldpublic MCPortalSpawnEvent(net.minecraftforge.event.world.BlockEvent.PortalSpawnEvent event)
public boolean isCanceled()
isCanceled in interface crafttweaker.api.event.IEventCancelablepublic void setCanceled(boolean canceled)
setCanceled in interface crafttweaker.api.event.IEventCancelablepublic boolean isValid()
isValid in interface crafttweaker.api.event.PortalSpawnEventpublic int getHeight()
getHeight in interface crafttweaker.api.event.PortalSpawnEventpublic int getWidth()
getWidth in interface crafttweaker.api.event.PortalSpawnEvent