BiomesOPlenty/apis/ttftcuts/atg/api/events/ATGBiomeGroupEvent.java
2013-10-21 20:05:20 +02:00

24 lines
665 B
Java

package ttftcuts.atg.api.events;
import ttftcuts.atg.api.ATGBiomes.BiomeType;
import net.minecraftforge.event.Event;
public class ATGBiomeGroupEvent extends Event {
public static enum EventType { SUITABILITY };
public static enum ResponseType { NONE, OK, FAILED };
public EventType type;
public BiomeType biomeType;
public ResponseType response;
public String name;
public double modifier;
public ATGBiomeGroupEvent( EventType type, BiomeType biomeType, String name, double modifier ) {
this.type = type;
this.biomeType = biomeType;
this.name = name;
this.modifier = modifier;
this.response = ResponseType.NONE;
}
}