use of mcjty.rftoolsdim.dimensions.world.GenericWorldGenerator in project RFToolsDimensions by McJty.
the class ModDimensions method init.
public static void init() {
int id = GeneralConfiguration.rftoolsProviderId;
if (id == -1) {
for (DimensionType type : DimensionType.values()) {
if (type.getId() > id) {
id = type.getId();
}
}
id++;
}
Logging.log("Registering rftools dimension type at id " + id);
rftoolsType = DimensionType.register("rftools_dimension", "_rftools", id, GenericWorldProvider.class, false);
GameRegistry.registerWorldGenerator(new GenericWorldGenerator(), 1000);
MapGenStructureIO.registerStructure(MapGenDesertTemple.Start.class, "RFTDesertTemple");
MapGenStructureIO.registerStructure(MapGenJungleTemple.Start.class, "RFTJungleTemple");
MapGenStructureIO.registerStructure(MapGenSwampHut.Start.class, "RFTSwampHut");
MapGenStructureIO.registerStructure(MapGenIgloo.Start.class, "RFTIgloo");
}
Aggregations