Optimised all imports

This commit is contained in:
modmuss50 2015-07-02 19:51:24 +01:00
parent 33898edf7c
commit 4ae1293535
178 changed files with 585 additions and 565 deletions

View file

@ -1,11 +1,5 @@
package techreborn.cofhLib.gui;
import techreborn.cofhLib.audio.SoundBase;
import techreborn.cofhLib.gui.element.ElementBase;
import techreborn.cofhLib.gui.element.TabBase;
import techreborn.cofhLib.gui.slot.SlotFalseCopy;
import techreborn.cofhLib.render.RenderHelper;
import techreborn.cofhLib.util.helpers.StringHelper;
import cpw.mods.fml.client.FMLClientHandler;
import net.minecraft.client.audio.SoundHandler;
import net.minecraft.client.gui.FontRenderer;
@ -21,6 +15,12 @@ import net.minecraftforge.fluids.FluidStack;
import org.lwjgl.input.Mouse;
import org.lwjgl.opengl.GL11;
import org.lwjgl.opengl.GL12;
import techreborn.cofhLib.audio.SoundBase;
import techreborn.cofhLib.gui.element.ElementBase;
import techreborn.cofhLib.gui.element.TabBase;
import techreborn.cofhLib.gui.slot.SlotFalseCopy;
import techreborn.cofhLib.render.RenderHelper;
import techreborn.cofhLib.util.helpers.StringHelper;
import java.util.ArrayList;
import java.util.Iterator;

View file

@ -1,10 +1,10 @@
package techreborn.cofhLib.gui.element;
import techreborn.cofhLib.gui.GuiBase;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import techreborn.cofhLib.gui.GuiBase;
import java.util.List;

View file

@ -1,9 +1,9 @@
package techreborn.cofhLib.gui.element;
import com.pahimar.ee3.util.ResourceLocationHelper;
import net.minecraft.util.ResourceLocation;
import techreborn.cofhLib.render.RenderHelper;
import techreborn.cofhLib.util.helpers.StringHelper;
import net.minecraft.util.ResourceLocation;
import java.util.List;

View file

@ -1,8 +1,8 @@
package techreborn.cofhLib.gui.element;
import techreborn.cofhLib.gui.GuiProps;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import techreborn.cofhLib.gui.GuiProps;
public abstract class ElementButtonManaged extends ElementBase
{

View file

@ -4,12 +4,15 @@ import techreborn.cofhLib.gui.GuiBase;
import techreborn.cofhLib.gui.GuiColor;
import techreborn.cofhLib.gui.element.listbox.IListBoxElement;
import techreborn.cofhLib.util.helpers.StringHelper;
import static org.lwjgl.opengl.GL11.*;
import java.util.Collection;
import java.util.LinkedList;
import java.util.List;
import static org.lwjgl.opengl.GL11.glPopMatrix;
import static org.lwjgl.opengl.GL11.glPushMatrix;
import static org.lwjgl.opengl.GL11.glTranslated;
public class ElementListBox extends ElementBase {
public int borderColor = new GuiColor(120, 120, 120, 255).getColor();

View file

@ -1,10 +1,10 @@
package techreborn.cofhLib.gui.element;
import com.pahimar.ee3.reference.Textures;
import techreborn.cofhLib.gui.GuiBase;
import techreborn.cofhLib.gui.GuiColor;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import techreborn.cofhLib.gui.GuiBase;
import techreborn.cofhLib.gui.GuiColor;
public abstract class ElementSlider extends ElementBase
{

View file

@ -1,15 +1,19 @@
package techreborn.cofhLib.gui.element;
import techreborn.cofhLib.gui.GuiBase;
import techreborn.cofhLib.gui.GuiColor;
import techreborn.cofhLib.util.helpers.MathHelper;
import net.minecraft.client.gui.FontRenderer;
import net.minecraft.client.gui.GuiScreen;
import net.minecraft.util.ChatAllowedCharacters;
import org.lwjgl.input.Keyboard;
import org.lwjgl.opengl.GL11;
import techreborn.cofhLib.gui.GuiBase;
import techreborn.cofhLib.gui.GuiColor;
import techreborn.cofhLib.util.helpers.MathHelper;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL11.GL_STENCIL_BUFFER_BIT;
import static org.lwjgl.opengl.GL11.GL_STENCIL_TEST;
import static org.lwjgl.opengl.GL11.glClear;
import static org.lwjgl.opengl.GL11.glDisable;
import static org.lwjgl.opengl.GL11.glEnable;
public class ElementTextField extends ElementBase

View file

@ -1,8 +1,8 @@
package techreborn.cofhLib.gui.element;
import techreborn.cofhLib.render.RenderHelper;
import net.minecraft.util.ResourceLocation;
import org.lwjgl.opengl.GL11;
import techreborn.cofhLib.render.RenderHelper;
/**
* Base class for a tab element. Has self-contained rendering methods and a link back to the {@link techreborn.cofhLib.gui.GuiBase} it is a part of.

View file

@ -1,7 +1,7 @@
package techreborn.cofhLib.gui.element.listbox;
import techreborn.cofhLib.gui.element.ElementListBox;
import net.minecraft.client.Minecraft;
import techreborn.cofhLib.gui.element.ElementListBox;
public class ListBoxElementText implements IListBoxElement
{