Skip to content

Commit

Permalink
Update Gradle and mods
Browse files Browse the repository at this point in the history
  • Loading branch information
KonSola5 committed Apr 29, 2024
1 parent 666e4bd commit 7cfeeee
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
id 'fabric-loom' version '1.5-SNAPSHOT'
id 'fabric-loom' version '1.6-SNAPSHOT'
id 'maven-publish'
}

Expand Down Expand Up @@ -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()) {
Expand Down
10 changes: 5 additions & 5 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/konsola5/hephaestusplus/HephaestusPlus.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 7cfeeee

Please sign in to comment.