aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java
blob: 5e0c669fd27ade6ab8d88fa7119ff87eea2e85c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package moe.nea.firmament.mixins.accessor;

import net.minecraft.client.gui.screens.inventory.AbstractContainerScreen;
import net.minecraft.world.inventory.Slot;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;

@Mixin(AbstractContainerScreen.class)
public interface AccessorHandledScreen {
    @Accessor("hoveredSlot")
    @Nullable
	Slot getFocusedSlot_Firmament();

    @Accessor("imageWidth")
    int getBackgroundWidth_Firmament();

    @Accessor("imageWidth")
    void setBackgroundWidth_Firmament(int newBackgroundWidth);

    @Accessor("imageHeight")
    int getBackgroundHeight_Firmament();

    @Accessor("imageHeight")
    void setBackgroundHeight_Firmament(int newBackgroundHeight);

    @Accessor("leftPos")
    int getX_Firmament();

    @Accessor("leftPos")
    void setX_Firmament(int newX);

    @Accessor("topPos")
    int getY_Firmament();

    @Accessor("topPos")
    void setY_Firmament(int newY);

}