Skip to content

Commit

Permalink
Add support for Alpha 3
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Jul 19, 2024
1 parent 9afac8b commit 7a70262
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 347 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ val MINECRAFT_VERSION by extra { "1.21" }
val NEOFORGE_VERSION by extra { "21.0.57-beta" }
val FABRIC_LOADER_VERSION by extra { "0.15.11" }
val FABRIC_API_VERSION by extra { "0.100.1+1.21" }
val SODIUM_FILE by extra { "sodium-fabric-0.6.0-alpha.2.jar" }
val SODIUM_FILE by extra { "sodium-fabric-0.6.0-snapshot+mc1.21-local.jar" }

// https://semver.org/
val MOD_VERSION by extra { "1.8.0" }
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@
"block_id.MixinChunkRenderRebuildTask",
"block_id.MixinChunkVertexBufferBuilder",
"clouds.MixinCloudRenderer",
"copyEntity.CuboidMixin",
"copyEntity.ModelPartMixin",
"copyEntity.cull.EntityRendererMixin",
"copyEntity.shadows.EntityRenderDispatcherMixin",
"directional_shading.MixinFlatLightPipeline",
"directional_shading.MixinSmoothLightPipeline",
"font.MixinGlyphRenderer",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class MixinDHCrashFix {
* @author IMS
* @reason see above
*/
@Overwrite
@Overwrite(remap = false)
public HashSet<DhChunkPos> getNormalRenderedChunks() {
SodiumWorldRenderer renderer = SodiumWorldRenderer.instance();
LevelHeightAccessor height = Minecraft.getInstance().level;
Expand All @@ -38,7 +38,7 @@ public HashSet<DhChunkPos> getNormalRenderedChunks() {
}).collect(Collectors.toCollection(HashSet::new));
}

@Overwrite
@Overwrite(remap = false)
public void setFogOcclusion(boolean b) {
SodiumClientMod.options().performance.useFogOcclusion = b;
}
Expand Down
1 change: 0 additions & 1 deletion fabric/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"custom": {
"sodium:options": {
"mixin.features.render.world.sky": false,
"mixin.features.render.entity": false,
"mixin.features.render.gui.font": false
},
"mc-publish": {
Expand Down

0 comments on commit 7a70262

Please sign in to comment.