From f2aa75f7c193513215ba4619c66bcc1449b0bc27 Mon Sep 17 00:00:00 2001 From: nea Date: Thu, 4 May 2023 15:12:56 +0200 Subject: Make REI aware of SkyBlock item ids --- .../mixins/accessor/AccessorHandledScreen.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/main/java/moe/nea/notenoughupdates/mixins/accessor/AccessorHandledScreen.java (limited to 'src/main/java') 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(); +} -- cgit