aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/mixins/MixinGuiRecipeBook.java
blob: 6427314768b5e87d329f787f4f776479872a8563 (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.mixins;

import me.shedaniel.listenerdefinitions.IMixinGuiRecipeBook;
import net.minecraft.client.gui.recipebook.GhostRecipe;
import net.minecraft.client.gui.recipebook.GuiRecipeBook;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;

@Mixin(GuiRecipeBook.class)
public class MixinGuiRecipeBook implements IMixinGuiRecipeBook {
    
    @Shadow
    @Final
    protected GhostRecipe ghostRecipe;
    
    @Override
    public GhostRecipe getGhostSlots() {
        return ghostRecipe;
    }
    
}