Compare commits

...
2 Commits
Author SHA1 Message Date
Jason Mitchell 1341be8f49 Make waila optional (#56)
* Make waila optional
2024-09-06 16:20:45 +00:00
NotAPenguin 89eaa78e51 update gt and fix name (#55) 2024-09-03 11:50:50 +02:00
3 changed files with 7 additions and 6 deletions

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ dependencies {
api("com.github.GTNewHorizons:waila:1.7.3:dev") api("com.github.GTNewHorizons:waila:1.7.3:dev")
api("com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev") api("com.github.GTNewHorizons:NotEnoughItems:2.6.0-GTNH:dev")
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.46.18:dev") {transitive = false } compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.49.55:dev") {transitive = false }
compileOnly("com.github.GTNewHorizons:Botania:1.11.1-GTNH:api") {transitive = false } compileOnly("com.github.GTNewHorizons:Botania:1.11.1-GTNH:api") {transitive = false }
compileOnly("com.github.GTNewHorizons:ForestryMC:4.9.0:api") {transitive = false } compileOnly("com.github.GTNewHorizons:ForestryMC:4.9.0:api") {transitive = false }
@@ -718,8 +718,9 @@ public class AlchemicalWizardry {
proxy.registerEntities(); proxy.registerEntities();
proxy.registerEntityTrackers(); proxy.registerEntityTrackers();
proxy.registerEvents(); proxy.registerEvents();
BloodMagicWailaPlugin.init(); if (Loader.isModLoaded("Waila")) {
BloodMagicWailaPlugin.init();
}
// ItemStacks used for crafting go here // ItemStacks used for crafting go here
ItemStack lapisStack = new ItemStack(Items.dye, 1, 4); ItemStack lapisStack = new ItemStack(Items.dye, 1, 4);
ItemStack lavaBucketStack = new ItemStack(Items.lava_bucket); ItemStack lavaBucketStack = new ItemStack(Items.lava_bucket);
@@ -16,7 +16,7 @@ import net.minecraftforge.oredict.OreDictionary;
import WayofTime.alchemicalWizardry.AlchemicalWizardry; import WayofTime.alchemicalWizardry.AlchemicalWizardry;
import cpw.mods.fml.common.Optional; import cpw.mods.fml.common.Optional;
import cpw.mods.fml.common.registry.GameRegistry; import cpw.mods.fml.common.registry.GameRegistry;
import gregtech.common.blocks.GT_TileEntity_Ores; import gregtech.common.blocks.TileEntityOres;
public class MeteorParadigm { public class MeteorParadigm {
@@ -220,8 +220,8 @@ public class MeteorParadigm {
@Optional.Method(modid = "gregtech") @Optional.Method(modid = "gregtech")
private static void setGTOresNaturalIfNeeded(World world, int x, int y, int z) { private static void setGTOresNaturalIfNeeded(World world, int x, int y, int z) {
final TileEntity tileEntity = world.getTileEntity(x, y, z); final TileEntity tileEntity = world.getTileEntity(x, y, z);
if (tileEntity instanceof GT_TileEntity_Ores) { if (tileEntity instanceof TileEntityOres) {
((GT_TileEntity_Ores) tileEntity).mNatural = true; ((TileEntityOres) tileEntity).mNatural = true;
} }
} }
} }