Skip to content

Commit

Permalink
update to 1.21.1
Browse files Browse the repository at this point in the history
  • Loading branch information
way2muchnoise committed Aug 25, 2024
1 parent a2f9563 commit a2c105c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 14 deletions.
7 changes: 7 additions & 0 deletions Forge/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ loom {
}
}

configurations.configureEach {
// Fix that can be found in Forge MDK too
resolutionStrategy {
force("net.sf.jopt-simple:jopt-simple:5.0.4")
}
}

dependencies {
forge("net.minecraftforge:forge:${minecraftVersion}-${forgeVersion}")

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void onLoad(final ModConfigEvent.Loading configEvent) {
public void onFileChange(final ModConfigEvent.Reloading configEvent) {
if (configEvent.getConfig().getModId().equals(Constants.ID)) {
Constants.log.debug("Reloaded {} config file {}", Constants.ID, configEvent.getConfig().getFileName());
((CommentedFileConfig) configEvent.getConfig().getConfigData()).load();
((CommentedFileConfig) configEvent.getConfig().getLoadedConfig().config()).load();
ConfigValues.pushChanges();
}
}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import net.fabricmc.loom.task.RemapJarTask
plugins {
base
id("architectury-plugin") version ("3.4-SNAPSHOT")
id("dev.architectury.loom") version ("1.6-SNAPSHOT") apply (false)
id("dev.architectury.loom") version ("1.7-SNAPSHOT") apply (false)
id("com.github.johnrengelman.shadow") version ("8.1.1") apply (false)
}

Expand Down
22 changes: 11 additions & 11 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -15,25 +15,25 @@ githubUrl=way2muchnoise/BetterAdvancements
platforms=fabric,forge,neoforge

# Minecraft
minecraftVersion=1.21
minecraftVersionRange=[1.21, 1.22)
minecraftVersion=1.21.1
minecraftVersionRange=[1.21.1, 1.22)

# Forge
forgeVersion=51.0.16
loaderVersionRange=[51,)
forgeVersionRange=[51.0.0,)
forgeVersion=52.0.8
loaderVersionRange=[52,)
forgeVersionRange=[52.0.0,)

# Fabric
fabricVersion=0.100.3+1.21
fabricLoaderVersion=0.15.11
fabricVersion=0.102.1+1.21.1
fabricLoaderVersion=0.16.2

# NeoForge
neoforgeVersion=21.0.21-beta
neoforgeLoaderVersionRange=[2,)
neoforgeVersionRange=[21.0.0,)
neoforgeVersion=21.1.26
neoforgeLoaderVersionRange=[4,)
neoforgeVersionRange=[21.1.0,)

# Fabric Config screen
clothVersion=15.0.127
clothVersion=15.0.130
modMenuVersion=11.0.1

# Mappings
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.7-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down

0 comments on commit a2c105c

Please sign in to comment.