public class InitMapGenEvent extends Event
| Modifier and Type | Class and Description |
|---|---|
static class |
InitMapGenEvent.EventType
Use CUSTOM to filter custom event types
|
Event.HasResult, Event.Result| Modifier and Type | Field and Description |
|---|---|
private MapGenBase |
newGen |
private MapGenBase |
originalGen |
private InitMapGenEvent.EventType |
type |
| Constructor and Description |
|---|
InitMapGenEvent(InitMapGenEvent.EventType type,
MapGenBase original) |
| Modifier and Type | Method and Description |
|---|---|
MapGenBase |
getNewGen() |
MapGenBase |
getOriginalGen() |
InitMapGenEvent.EventType |
getType() |
void |
setNewGen(MapGenBase newGen) |
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult, setupprivate final InitMapGenEvent.EventType type
private final MapGenBase originalGen
private MapGenBase newGen
InitMapGenEvent(InitMapGenEvent.EventType type, MapGenBase original)
public InitMapGenEvent.EventType getType()
public MapGenBase getOriginalGen()
public MapGenBase getNewGen()
public void setNewGen(MapGenBase newGen)