Skip to content

Commit

Permalink
change: Update for 1.21
Browse files Browse the repository at this point in the history
  • Loading branch information
FlashyReese committed Jun 13, 2024
1 parent ade031a commit e85902a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ dependencies {
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"

modImplementation "me.jellysquid.mods:sodium:0.5.9-snapshot+mc1.21-pre3-build.9"
//modImplementation "maven.modrinth:sodium:${project.sodium_version}"
//modImplementation "me.jellysquid.mods:sodium:0.5.9-snapshot+mc1.21-pre3-build.9"
modImplementation "maven.modrinth:sodium:${project.sodium_version}"
/*modImplementation("me.flashyreese.mods:reeses-sodium-options:${project.reeses_sodium_options}") {
exclude group: "net.coderbot.iris_mc1_19", module: "iris"
}*/
Expand Down
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.21-rc1
yarn_mappings=1.21-rc1+build.1
minecraft_version=1.21
yarn_mappings=1.21+build.1
loader_version=0.15.11

# Mod Properties
mod_version=0.5.5
mod_version=0.5.6
maven_group=me.flashyreese.mods
archives_base_name=sodium-extra

# Dependencies
reeses_sodium_options=1.7.3+mc1.20.5-build.74
sodium_version=mc1.20.6-0.5.8
sodium_version=mc1.21-0.5.9
fabric_version=0.100.1+1.21
crowdin_translate=1.4+1.19.3
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Mixin(CloudRenderer.class)
public class MixinCloudRenderer {
@ModifyVariable(method = "render", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/client/option/GameOptions;getClampedViewDistance()I"), ordinal = 0)
@ModifyVariable(method = "render", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/client/option/GameOptions;getClampedViewDistance()I"), index = 21, name = "renderDistance")
public int modifyCloudRenderDistance(int original) {
return original * SodiumExtraClientMod.options().extraSettings.cloudDistance / 100;
}
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
"depends": {
"fabricloader": ">=0.15",
"fabric-api": "*",
"sodium": ">=0.5.8",
"minecraft": ">=1.20.6"
"sodium": ">=0.5.9",
"minecraft": ">=1.21"
},
"breaks": {
"iris": "<1.7.0",
Expand Down

0 comments on commit e85902a

Please sign in to comment.