Add Inventory Buttons

This commit is contained in:
nea
2023-10-28 03:36:11 +02:00
committed by Linnea Gräf
parent 47fbb25ab2
commit e15406e22e
24 changed files with 683 additions and 9 deletions

View File

@@ -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();
}