/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  net.minecraft.class_1661
 *  net.minecraft.class_1720
 *  net.minecraft.class_2561
 *  net.minecraft.class_465
 *  net.minecraft.class_489
 *  net.minecraft.class_518
 *  org.spongepowered.asm.mixin.Mixin
 */
package meteordevelopment.meteorclient.mixin;

import meteordevelopment.meteorclient.systems.modules.Modules;
import meteordevelopment.meteorclient.systems.modules.world.AutoSmelter;
import net.minecraft.class_1661;
import net.minecraft.class_1720;
import net.minecraft.class_2561;
import net.minecraft.class_465;
import net.minecraft.class_489;
import net.minecraft.class_518;
import org.spongepowered.asm.mixin.Mixin;

@Mixin(value={class_489.class})
public abstract class AbstractFurnaceScreenMixin<T extends class_1720>
extends class_465<T>
implements class_518 {
    public AbstractFurnaceScreenMixin(T container, class_1661 playerInventory, class_2561 name) {
        super(container, playerInventory, name);
    }

    public void method_37432() {
        super.method_37432();
        if (Modules.get().isActive(AutoSmelter.class)) {
            Modules.get().get(AutoSmelter.class).tick((class_1720)this.field_2797);
        }
    }
}

