aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-08-12 22:48:07 +0200
committerLinnea Gräf <nea@nea.moe>2024-08-12 22:48:07 +0200
commit0decd04bc348f957ef94a9a4beba5e3f829da718 (patch)
treeb2fc85671d3748e5a15a64c4f42437307a960c76 /src/main/java/moe/nea
parentb8a45b9a0438a12ba3c609f6e416d519829471be (diff)
downloadfirmament-0decd04bc348f957ef94a9a4beba5e3f829da718.tar.gz
firmament-0decd04bc348f957ef94a9a4beba5e3f829da718.tar.bz2
firmament-0decd04bc348f957ef94a9a4beba5e3f829da718.zip
Fix sodium reloadin
[no changelog]
Diffstat (limited to 'src/main/java/moe/nea')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/accessor/sodium/AccessorSodiumWorldRenderer.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/accessor/sodium/AccessorSodiumWorldRenderer.java b/src/main/java/moe/nea/firmament/mixins/accessor/sodium/AccessorSodiumWorldRenderer.java
new file mode 100644
index 0000000..b759204
--- /dev/null
+++ b/src/main/java/moe/nea/firmament/mixins/accessor/sodium/AccessorSodiumWorldRenderer.java
@@ -0,0 +1,14 @@
+package moe.nea.firmament.mixins.accessor.sodium;
+
+import me.jellysquid.mods.sodium.client.render.SodiumWorldRenderer;
+import me.jellysquid.mods.sodium.client.render.chunk.RenderSectionManager;
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.Pseudo;
+import org.spongepowered.asm.mixin.gen.Accessor;
+
+@Mixin(SodiumWorldRenderer.class)
+@Pseudo
+public interface AccessorSodiumWorldRenderer {
+ @Accessor("renderSectionManager")
+ RenderSectionManager getRenderSectionManager_firmament();
+}