aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/mixins/MixinRecipeBookGui.java
blob: d685ba1e6fd2ab08fdb4554a35c5d1a1f5aca2f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package me.shedaniel.mixins;

import me.shedaniel.listenerdefinitions.IMixinRecipeBookGui;
import net.minecraft.client.gui.recipebook.RecipeBookGui;
import net.minecraft.client.gui.widget.RecipeBookGhostSlots;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

@Mixin(RecipeBookGui.class)
public class MixinRecipeBookGui implements IMixinRecipeBookGui {
    
    @Shadow @Final protected RecipeBookGhostSlots ghostSlots;
    
    @Override
    public RecipeBookGhostSlots getGhostSlots() {
        return ghostSlots;
    }
    
}