From 2c9c38868345d5e133179597936f8e584075b8de Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 12 Nov 2023 14:45:05 +0100 Subject: Add temporary waypoints and /firm sendcoords --- .../mixins/accessor/AccessorGameRenderer.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 src/main/java/moe/nea/firmament/mixins/accessor/AccessorGameRenderer.java (limited to 'src/main/java/moe') 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 + * + * 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); +} -- cgit