Skip to content

Commit

Permalink
resync
Browse files Browse the repository at this point in the history
  • Loading branch information
sakura-ryoko committed Jun 12, 2024
1 parent e77fe8b commit 6791c31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ mod_version = 0.19.999-sakura

# Required malilib version
malilib_version = 0.18.999-sakura
malilib_id = 22c8236df4
malilib_id = 660ac5ab37

# Minecraft, Fabric Loader and API and mappings versions
minecraft_version_out = 1.21-rc1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@ private static float overrideFogStart(float original)
{
return Math.max(512, MinecraftClient.getInstance().gameRenderer.getViewDistance()) * 1.6f;
}
return original;
}
@ModifyVariable(
method = "applyFog(Lnet/minecraft/client/render/Camera;Lnet/minecraft/client/render/BackgroundRenderer$FogType;FZ)V",
slice = @Slice(
Expand All @@ -80,6 +82,7 @@ private static float overrideFogEnd(float original)
{
return Math.max(512, MinecraftClient.getInstance().gameRenderer.getViewDistance()) * 2.0f;
}
return original;
}
*/
Expand Down

0 comments on commit 6791c31

Please sign in to comment.