use of com.oitsjustjose.geolosys.world.ChunkData in project Geolosys by oitsjustjose.
the class Geolosys method preInit.
@EventHandler
public void preInit(FMLPreInitializationEvent event) {
LOGGER = event.getModLog();
MinecraftForge.EVENT_BUS.register(new Config(event.getSuggestedConfigurationFile()));
configOres = getOresConfig(event.getModConfigurationDirectory());
clientRegistry = new ClientRegistry();
MinecraftForge.EVENT_BUS.register(clientRegistry);
chunkOreGen = new ChunkData();
userStates = new ArrayList<>();
ORE = new BlockOre();
ORE_VANILLA = new BlockOreVanilla();
ORE_SAMPLE = new BlockSample();
ORE_SAMPLE_VANILLA = new BlockSampleVanilla();
CLUSTER = new ItemCluster();
ALMANAC = new ItemFieldManual();
if (Config.getInstance().enableIngots) {
INGOT = new ItemIngot();
}
if (Config.getInstance().enableCoals) {
COAL = new ItemCoal();
}
if (Config.getInstance().enableProPick) {
PRO_PICK = new ItemProPick();
}
registerGeolosysOreGen();
registerVanillaOreGen();
}
Aggregations