package com.tterrag.blur.config;

import com.tterrag.blur.Blur;

import net.minecraft.client.gui.GuiScreen;
import net.minecraftforge.common.config.ConfigElement;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.fml.client.config.GuiConfig;

public class BlurConfigGui extends GuiConfig {

    public BlurConfigGui(GuiScreen parentScreen) {
        super(parentScreen, new ConfigElement(Blur.instance.config.getCategory(Configuration.CATEGORY_GENERAL)).getChildElements(), Blur.MODID, false, false, Blur.MODID + ".config.title");
    }
}

@@ -27,16 +27,50 @@
 onfig;%0A%0A
+import javax.annotation.Nonnull;%0A%0A
 import c
@@ -135,16 +135,66 @@
 Screen;%0A
+import net.minecraft.client.renderer.Tessellator;%0A
 import n
@@ -349,16 +349,78 @@
 iConfig;
+%0Aimport net.minecraftforge.fml.client.config.GuiConfigEntries;
 %0A%0Apublic
@@ -707,10 +707,553 @@
 ;%0A    %7D%0A
+    %0A    @Override%0A    public void initGui() %7B%0A        super.initGui();%0A        this.entryList = new GuiConfigEntries(this, mc) %7B%0A            @SuppressWarnings(%7B %22unused%22, %22null%22 %7D)%0A            @Override%0A            protected void drawContainerBackground(@Nonnull Tessellator tessellator) %7B%0A                if (mc.world == null) %7B%0A                    super.drawContainerBackground(tessellator);%0A                %7D%0A            %7D%0A        %7D;%0A    %7D%0A    %0A    @Override%0A    public void drawDefaultBackground() %7B%0A        drawWorldBackground(0);%0A    %7D%0A
 %7D%0A

Make config GUI see-through when in a world