aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/moe')
-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();
+}