ForgePatch/common/net/minecraftforge/event/terraingen/InitMapGenEvent.java
Scott Killen 69ac1fa3a5 Added terrain gen events
Added biome color events for @XCompWiz
2012-12-07 16:43:15 -05:00

22 lines
628 B
Java

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