diff --git a/build.gradle b/build.gradle index 444d044..60f9c12 100644 --- a/build.gradle +++ b/build.gradle @@ -1,5 +1,5 @@ plugins { - id 'fabric-loom' version '1.5-SNAPSHOT' + id 'fabric-loom' version '1.6-SNAPSHOT' id 'maven-publish' } @@ -104,9 +104,9 @@ dependencies { annotationProcessor modImplementation("io.wispforest:owo-lib:${project.owo_version}") if (project.use_fabricae_ex_nihilo.toBoolean()) { - modImplementation "maven.modrinth:j9JARqmz:vkrmmrFW" + modImplementation "maven.modrinth:fabricae-ex-nihilo:1.0.0+mc.1.20.1" } else { - modCompileOnly "maven.modrinth:j9JARqmz:vkrmmrFW" + modCompileOnly "maven.modrinth:fabricae-ex-nihilo:1.0.0+mc.1.20.1" } if (project.use_mythic_metals.toBoolean()) { diff --git a/gradle.properties b/gradle.properties index 1ff09a7..02c2a27 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,24 +7,24 @@ org.gradle.parallel=true minecraft_base_version=1.20.1 minecraft_version=1.20.1 yarn_mappings=1.20.1+build.10 -loader_version=0.15.3 +loader_version=0.15.10 # Mod Properties mod_version=1.1.1+1.20 modid=hephaestusplus maven_group=com.konsola5 archives_base_name=hephaestusplus -hephaestus_version=3.6.4.266 +hephaestus_version=3.6.4.273 mantle_version=1.9.265 configtoolkit_version=1.0.0 yacl_version=3.0.3+1.20 tr_energy_version=3.0.0 -owo_version=0.11.1+1.20 +owo_version=0.11.2+1.20 cca_version=5.2.0 # Mythic Metals: https://modrinth.com/mod/mythicmetals -mm_version=0.18.2+1.20 +mm_version=0.19.7+1.20.1 # Alloy Forgery: https://modrinth.com/mod/alloy-forgery -af_version=2.0.21+1.20 +af_version=2.1.2+1.20 # leethium moment leetheum_version=mc1.20-0.11.2 # Mixin Extras diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ac72c34..a80b22c 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/src/main/java/konsola5/hephaestusplus/HephaestusPlus.java b/src/main/java/konsola5/hephaestusplus/HephaestusPlus.java index 887c0ed..de2dd46 100644 --- a/src/main/java/konsola5/hephaestusplus/HephaestusPlus.java +++ b/src/main/java/konsola5/hephaestusplus/HephaestusPlus.java @@ -28,9 +28,9 @@ public void onInitialize() { // Proceed with mild caution. MixinExtrasBootstrap.init(); HephPlusRegistry.init(); - // The Metallurgium tier, surprised that mods generally don't initialize tiers like that + // The Metallurgium tier, Forge-style tiers are weird if (!TierSortingRegistry.isTierSorted(MetallurgiumTier.instance)) { - if (TierSortingRegistry.getSortedTiers().size() != 0) { + if (!TierSortingRegistry.getSortedTiers().isEmpty()) { TierSortingRegistry.registerTier(MetallurgiumTier.instance, new ResourceLocation(HephaestusPlus.MOD_ID + ":metallurgium"), List.of(TierSortingRegistry.getSortedTiers().get(TierSortingRegistry.getSortedTiers().size())), List.of()); } else {