// Path: src/main/java/guichaguri/betterfps/transformers/Conditions.java
// public class Conditions {
// 
//     protected static final List<Mappings> patched = new ArrayList<Mappings>();
// 
//     public static final String FAST_HOPPER = "fastHopper";
//     public static final String FAST_BEACON = "fastBeacon";
//     public static final String FAST_SEARCH = "fastSearch";
//     public static final String FAST_BEAM_RENDER = "fastBeaconBeamRender";
//     public static final String FOG_DISABLED = "fogDisabled";
// 
//     /**
//      * Checks whether the condition identifier is met
//      */
//     public static boolean shouldPatch(String condition) {
//         BetterFpsConfig config = BetterFpsHelper.getConfig();
// 
//         if(condition.equals(FAST_HOPPER)) {
//             return config.fastHopper;
//         } else if(condition.equals(FAST_BEACON)) {
//             return config.fastBeacon;
//         } else if(condition.equals(FAST_SEARCH)) {
//             return config.fastSearch;
//         } else if(condition.equals(FAST_BEAM_RENDER)) {
//             return !config.beaconBeam;
//         } else if(condition.equals(FOG_DISABLED)) {
//             return !config.fog;
//         }
// 
//         return true;
//     }
// 
//     /**
//      * Checks whether the {@link Condition} annotation has its condition met
//      */
//     public static boolean shouldPatch(List<AnnotationNode> annotations) {
//         AnnotationNode condition = ASMUtils.getAnnotation(annotations, Condition.class);
//         if(condition != null) {
//             String id = ASMUtils.getAnnotationValue(condition, "value", String.class);
//             return id == null || shouldPatch(id);
//         }
//         return true;
//     }
// 
//     public static boolean isPatched(Mappings name) {
//         return patched.contains(name);
//     }
// 
// }


import guichaguri.betterfps.transformers.Conditions;
import guichaguri.betterfps.transformers.annotations.Condition;
import guichaguri.betterfps.transformers.annotations.Copy;
import guichaguri.betterfps.transformers.annotations.Copy.Mode;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.EntityRenderer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.IResourceManager;
package guichaguri.betterfps.patches.misc;


/**
 * @author Guilherme Chaguri
 */
public abstract class FogPatch extends EntityRenderer {

    public FogPatch(Minecraft mc, IResourceManager manager) {
// Path: src/main/java/guichaguri/betterfps/transformers/Conditions.java
// public class Conditions {
// 
//     protected static final List<Mappings> patched = new ArrayList<Mappings>();
// 
//     public static final String FAST_HOPPER = "fastHopper";
//     public static final String FAST_BEACON = "fastBeacon";
//     public static final String FAST_SEARCH = "fastSearch";
//     public static final String FAST_BEAM_RENDER = "fastBeaconBeamRender";
//     public static final String FOG_DISABLED = "fogDisabled";
// 
//     /**
//      * Checks whether the condition identifier is met
//      */
//     public static boolean shouldPatch(String condition) {
//         BetterFpsConfig config = BetterFpsHelper.getConfig();
// 
//         if(condition.equals(FAST_HOPPER)) {
//             return config.fastHopper;
//         } else if(condition.equals(FAST_BEACON)) {
//             return config.fastBeacon;
//         } else if(condition.equals(FAST_SEARCH)) {
//             return config.fastSearch;
//         } else if(condition.equals(FAST_BEAM_RENDER)) {
//             return !config.beaconBeam;
//         } else if(condition.equals(FOG_DISABLED)) {
//             return !config.fog;
//         }
// 
//         return true;
//     }
// 
//     /**
//      * Checks whether the {@link Condition} annotation has its condition met
//      */
//     public static boolean shouldPatch(List<AnnotationNode> annotations) {
//         AnnotationNode condition = ASMUtils.getAnnotation(annotations, Condition.class);
//         if(condition != null) {
//             String id = ASMUtils.getAnnotationValue(condition, "value", String.class);
//             return id == null || shouldPatch(id);
//         }
//         return true;
//     }
// 
//     public static boolean isPatched(Mappings name) {
//         return patched.contains(name);
//     }
// 
// }


// Path: src/main/java/guichaguri/betterfps/patches/misc/FogPatch.java
import guichaguri.betterfps.transformers.Conditions;
import guichaguri.betterfps.transformers.annotations.Condition;
import guichaguri.betterfps.transformers.annotations.Copy;
import guichaguri.betterfps.transformers.annotations.Copy.Mode;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.EntityRenderer;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.resources.IResourceManager;

package guichaguri.betterfps.patches.misc;


/**
 * @author Guilherme Chaguri
 */
public abstract class FogPatch extends EntityRenderer {

    public FogPatch(Minecraft mc, IResourceManager manager) {
        super(mc, manager);