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

23 lines
643 B
Java

package net.minecraftforge.event.terraingen;
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;
}
}