aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/moe/nea/firmament/mixins/accessor/AccessorHandledScreen.java
blob: 7ed04b1325105fe53ea2e5edfb335d5c83c67b63 (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
40
41
package moe.nea.firmament.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_Firmament();

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

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

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

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

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

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

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

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

}