aboutsummaryrefslogblamecommitdiff
path: root/src/main/java/org/chrisoft/trashyaddon/mixin/MerchantScreenAccessor.java
blob: 8050ad34154a9128502da89e6a67474d29cc4779 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14













                                                             
package org.chrisoft.trashyaddon.mixin;

import net.minecraft.client.gui.screen.ingame.MerchantScreen;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.gen.Accessor;
import org.spongepowered.asm.mixin.gen.Invoker;

@Mixin(MerchantScreen.class)
public interface MerchantScreenAccessor {
    @Accessor("selectedIndex")
    public void setSelectedIndex(int selectedIndex);
    @Invoker("syncRecipeIndex")
    public void invokeSyncRecipeIndex();
}