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

import me.shedaniel.rei.listeners.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 rei_getGhostSlots() {
        return ghostSlots;
    }
    
}