diff options
author | nea <nea@nea.moe> | 2023-10-28 03:36:11 +0200 |
---|---|---|
committer | nea <nea@nea.moe> | 2023-11-04 00:39:05 +0100 |
commit | 5f535b56d0009eefcf5d70f737dd70514802763f (patch) | |
tree | 78e8246e30e8504baaac9fd73ad0a0543d028748 /src/main/java | |
parent | 47fbb25ab280b6af9496780672780db78fe36f27 (diff) | |
download | Firmament-5f535b56d0009eefcf5d70f737dd70514802763f.tar.gz Firmament-5f535b56d0009eefcf5d70f737dd70514802763f.tar.bz2 Firmament-5f535b56d0009eefcf5d70f737dd70514802763f.zip |
Inventory buttons
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java b/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java index c42f819..b14717d 100644 --- a/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java +++ b/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java @@ -6,6 +6,7 @@ package moe.nea.firmament.mixins.accessor; +import me.shedaniel.math.Rectangle; import net.minecraft.client.gui.screen.ingame.HandledScreen; import net.minecraft.screen.slot.Slot; import org.jetbrains.annotations.Nullable; @@ -17,4 +18,18 @@ public interface AccessorHandledScreen { @Accessor("focusedSlot") @Nullable Slot getFocusedSlot_Firmament(); + + @Accessor("backgroundWidth") + int getBackgroundWidth_Firmament(); + + @Accessor("backgroundHeight") + int getBackgroundHeight_Firmament(); + + @Accessor("x") + int getX_Firmament(); + + @Accessor("y") + int getY_Firmament(); + + } |