Skip to content

Commit

Permalink
change: Update for Sodium 0.5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
FlashyReese committed Jun 13, 2024
1 parent 6505feb commit 0a7e88e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ org.gradle.jvmargs=-Xmx1G
# check these on https://modmuss50.me/fabric.html
minecraft_version=1.20.6
yarn_mappings=1.20.6+build.1
loader_version=0.15.10
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
fabric_version=0.97.8+1.20.6
sodium_version=mc1.20.6-0.5.9
fabric_version=0.100.0+1.20.6
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 @@ -54,9 +54,9 @@
"sodium-extra.mixins.json"
],
"depends": {
"fabricloader": ">=0.14",
"fabricloader": ">=0.15",
"fabric-api": "*",
"sodium": ">=0.5.8",
"sodium": ">=0.5.9",
"minecraft": ">=1.20.5"
},
"breaks": {
Expand Down

0 comments on commit 0a7e88e

Please sign in to comment.