/FileExtraction/Java_unseen/ionar2_summit/src/main/java/com/salhack/summit/mixin/MixinLoaderForge.java
package com.salhack.summit.mixin;

import com.salhack.summit.SummitMod;
import net.minecraftforge.fml.relauncher.IFMLLoadingPlugin;
import org.spongepowered.asm.launch.MixinBootstrap;
import org.spongepowered.asm.mixin.MixinEnvironment;
import org.spongepowered.asm.mixin.Mixins;

import java.util.Map;

public class MixinLoaderForge implements IFMLLoadingPlugin
{
    private static boolean isObfuscatedEnvironment = false;

    public MixinLoaderForge()
    {
        MixinBootstrap.init();
        Mixins.addConfigurations("mixins.baritone.json", "mixins.summit.json");
        MixinEnvironment.getDefaultEnvironment().setObfuscationContext("searge");
        SummitMod.log.info(MixinEnvironment.getDefaultEnvironment().getObfuscationContext());
    }

    @Override
    public String[] getASMTransformerClass()
    {
        return new String[0];
    }

    @Override
    public String getModContainerClass()
    {
        return null;
    }

    @Override
    public String getSetupClass()
    {
        return null;
    }

    @Override
    public void injectData(Map<String, Object> data)
    {
        isObfuscatedEnvironment = (boolean) (Boolean) data.get("runtimeDeobfuscationEnabled");
    }

    @Override
    public String getAccessTransformerClass()
    {
        return null;
    }
}
