aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-05-04 15:12:56 +0200
committernea <nea@nea.moe>2023-05-04 15:12:56 +0200
commitf2aa75f7c193513215ba4619c66bcc1449b0bc27 (patch)
tree89a8e309ba84c9966eb9e7a7317255984419f0c0 /src/main/java
parentbfcb02e52bf9c1fbe9f4d544108ffd547c40eba5 (diff)
downloadFirmament-f2aa75f7c193513215ba4619c66bcc1449b0bc27.tar.gz
Firmament-f2aa75f7c193513215ba4619c66bcc1449b0bc27.tar.bz2
Firmament-f2aa75f7c193513215ba4619c66bcc1449b0bc27.zip
Make REI aware of SkyBlock item ids
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/moe/nea/notenoughupdates/mixins/accessor/AccessorHandledScreen.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/notenoughupdates/mixins/accessor/AccessorHandledScreen.java b/src/main/java/moe/nea/notenoughupdates/mixins/accessor/AccessorHandledScreen.java
new file mode 100644
index 0000000..cea44cf
--- /dev/null
+++ b/src/main/java/moe/nea/notenoughupdates/mixins/accessor/AccessorHandledScreen.java
@@ -0,0 +1,14 @@
+package moe.nea.notenoughupdates.mixins.accessor;
+
+import net.minecraft.client.gui.screen.ingame.HandledScreen;
+import net.minecraft.screen.slot.Slot;
+import org.jetbrains.annotations.Nullable;
+import org.spongepowered.asm.mixin.Mixin;
+import org.spongepowered.asm.mixin.gen.Accessor;
+
+@Mixin(HandledScreen.class)
+public interface AccessorHandledScreen {
+ @Accessor("focusedSlot")
+ @Nullable
+ Slot getFocusedSlot_NEU();
+}