ForgePatch/common/net/minecraftforge/event/terraingen/InitMapGenEvent.java

23 lines
643 B
Java
Raw Normal View History

package net.minecraftforge.event.terraingen;
2012-12-13 07:27:57 +00:00
import net.minecraft.world.gen.MapGenBase;
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;
}
}