2012-11-19 04:27:43 +00:00
|
|
|
package net.minecraftforge.event.terraingen;
|
|
|
|
|
2012-12-13 07:27:57 +00:00
|
|
|
import net.minecraft.world.gen.MapGenBase;
|
2012-11-19 04:27:43 +00:00
|
|
|
import net.minecraftforge.event.*;
|
|
|
|
|
|
|
|
public class InitMapGenEvent extends Event
|
|
|
|
{
|
|
|
|
/** Use CUSTOM to filter custom event types
|
|
|
|
*/
|
|
|
|
public static enum EventType { CAVE, MINESHAFT, NETHER_BRIDGE, NETHER_CAVE, RAVINE, SCATTERED_FEATURE, STRONGHOLD, VILLAGE, CUSTOM }
|
|
|
|
|
|
|
|
public final EventType type;
|
|
|
|
public final MapGenBase originalGen;
|
|
|
|
public MapGenBase newGen;
|
|
|
|
|
|
|
|
InitMapGenEvent(EventType type, MapGenBase original)
|
|
|
|
{
|
|
|
|
this.type = type;
|
|
|
|
this.originalGen = original;
|
|
|
|
this.newGen = original;
|
|
|
|
}
|
|
|
|
}
|