aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/dulkirmod/mixins
diff options
context:
space:
mode:
authoringlettronald <inglettronald@gmail.com>2023-05-25 17:54:35 -0500
committeringlettronald <inglettronald@gmail.com>2023-05-25 17:54:35 -0500
commite645175075b28d13266650ec00f6d5b7927133bf (patch)
tree145701d4173ac2658f7f8fa870320f23e9de635f /src/main/java/dulkirmod/mixins
parent1cc4b53862eb60e892b8c5cf1190b8cd6a62d32b (diff)
downloadDulkirMod-e645175075b28d13266650ec00f6d5b7927133bf.tar.gz
DulkirMod-e645175075b28d13266650ec00f6d5b7927133bf.tar.bz2
DulkirMod-e645175075b28d13266650ec00f6d5b7927133bf.zip
better interpolation
Diffstat (limited to 'src/main/java/dulkirmod/mixins')
-rw-r--r--src/main/java/dulkirmod/mixins/AccessorRenderManager.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/dulkirmod/mixins/AccessorRenderManager.java b/src/main/java/dulkirmod/mixins/AccessorRenderManager.java
new file mode 100644
index 0000000..303f3ea
--- /dev/null
+++ b/src/main/java/dulkirmod/mixins/AccessorRenderManager.java
@@ -0,0 +1,18 @@
+package dulkirmod.mixins;
+
+import net.minecraft.client.renderer.entity.RenderManager;
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.gen.Accessor;
+
+@Mixin(RenderManager.class)
+public interface AccessorRenderManager {
+
+ @Accessor("renderPosX")
+ double getRenderX();
+
+ @Accessor("renderPosY")
+ double getRenderY();
+
+ @Accessor("renderPosZ")
+ double getRenderZ();
+} \ No newline at end of file