    001package net.minecraftforge.event.terraingen;
    002
    003import net.minecraft.world.gen.MapGenBase;
    004import net.minecraftforge.event.*;
    005
    006public class InitMapGenEvent extends Event
    007{
    008    /** Use CUSTOM to filter custom event types
    009     */
    010    public static enum EventType { CAVE, MINESHAFT, NETHER_BRIDGE, NETHER_CAVE, RAVINE, SCATTERED_FEATURE, STRONGHOLD, VILLAGE, CUSTOM }
    011
    012    public final EventType type;
    013    public final MapGenBase originalGen;
    014    public MapGenBase newGen;
    015
    016    InitMapGenEvent(EventType type, MapGenBase original)
    017    {
    018        this.type = type;
    019        this.originalGen = original;
    020        this.newGen = original;
    021    }
    022}