aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2023-11-12 14:45:05 +0100
committerLinnea Gräf <nea@nea.moe>2023-11-12 14:45:05 +0100
commit2c9c38868345d5e133179597936f8e584075b8de (patch)
treea055cd6224d71058821558db33296a4900068216 /src/main/java
parent897ab0f06b06e4c14eab31a1bf45365671471c8c (diff)
downloadFirmament-2c9c38868345d5e133179597936f8e584075b8de.tar.gz
Firmament-2c9c38868345d5e133179597936f8e584075b8de.tar.bz2
Firmament-2c9c38868345d5e133179597936f8e584075b8de.zip
Add temporary waypoints and /firm sendcoords
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/moe/nea/firmament/mixins/accessor/AccessorGameRenderer.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/accessor/AccessorGameRenderer.java b/src/main/java/moe/nea/firmament/mixins/accessor/AccessorGameRenderer.java
new file mode 100644
index 0000000..1137142
--- /dev/null
+++ b/src/main/java/moe/nea/firmament/mixins/accessor/AccessorGameRenderer.java
@@ -0,0 +1,18 @@
+/*
+ * SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
+ *
+ * SPDX-License-Identifier: GPL-3.0-or-later
+ */
+
+package moe.nea.firmament.mixins.accessor;
+
+import net.minecraft.client.render.Camera;
+import net.minecraft.client.render.GameRenderer;
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.gen.Invoker;
+
+@Mixin(GameRenderer.class)
+public interface AccessorGameRenderer {
+ @Invoker("getFov")
+ double getFov_firmament(Camera camera, float tickDelta, boolean changingFov);
+}