use of com.github.technus.tectech.compatibility.thaumcraft.EssentiaCompatEnabled in project TecTech by Technus.
the class MainLoader method load.
public void load() {
ProgressManager.ProgressBar progressBarLoad = ProgressManager.push("TecTech Loader", 6);
progressBarLoad.step("Elemental Things");
new ElementalLoader().run();
TecTech.Logger.info("Elemental Init Done");
progressBarLoad.step("Thaumcraft Compatibility");
if (hasThaumcraft) {
essentiaContainerCompat = new EssentiaCompatEnabled();
essentiaContainerCompat.run();
} else {
essentiaContainerCompat = new EssentiaCompat();
}
TecTech.Logger.info("Thaumcraft Compatibility Done");
progressBarLoad.step("Regular Things");
new ThingsLoader().run();
TecTech.Logger.info("Block/Item Init Done");
progressBarLoad.step("Machine Things");
new MachineLoader().run();
TecTech.Logger.info("Machine Init Done");
progressBarLoad.step("Register entities");
new EntityLoader().run();
TecTech.Logger.info("Entities registered");
progressBarLoad.step("Add damage types");
microwaving = new DamageSource("microwaving").setDamageBypassesArmor();
elementalPollution = new DamageSource("elementalPollution").setDamageBypassesArmor();
TecTech.Logger.info("Damage types addition Done");
ProgressManager.pop(progressBarLoad);
}
Aggregations