Replaces * and static imports with more readable ones
This commit is contained in:
@@ -19,7 +19,7 @@
|
|||||||
package appeng.integration.modules.NEIHelpers;
|
package appeng.integration.modules.NEIHelpers;
|
||||||
|
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Rectangle;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -19,7 +19,7 @@
|
|||||||
package appeng.integration.modules.NEIHelpers;
|
package appeng.integration.modules.NEIHelpers;
|
||||||
|
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Rectangle;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
package appeng.integration.modules.NEIHelpers;
|
package appeng.integration.modules.NEIHelpers;
|
||||||
|
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Rectangle;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
package appeng.integration.modules.NEIHelpers;
|
package appeng.integration.modules.NEIHelpers;
|
||||||
|
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Rectangle;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -32,6 +32,7 @@ import net.minecraft.inventory.Container;
|
|||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
|
||||||
|
import codechicken.lib.gui.GuiDraw;
|
||||||
import codechicken.nei.NEIServerUtils;
|
import codechicken.nei.NEIServerUtils;
|
||||||
import codechicken.nei.PositionedStack;
|
import codechicken.nei.PositionedStack;
|
||||||
import codechicken.nei.api.IOverlayHandler;
|
import codechicken.nei.api.IOverlayHandler;
|
||||||
@@ -43,9 +44,6 @@ import appeng.api.features.IGrinderEntry;
|
|||||||
import appeng.client.gui.implementations.GuiGrinder;
|
import appeng.client.gui.implementations.GuiGrinder;
|
||||||
import appeng.core.localization.GuiText;
|
import appeng.core.localization.GuiText;
|
||||||
|
|
||||||
import static codechicken.lib.gui.GuiDraw.changeTexture;
|
|
||||||
import static codechicken.lib.gui.GuiDraw.drawTexturedModalRect;
|
|
||||||
|
|
||||||
|
|
||||||
public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
||||||
{
|
{
|
||||||
@@ -130,8 +128,8 @@ public class NEIGrinderRecipeHandler extends TemplateRecipeHandler
|
|||||||
public void drawBackground( int recipe )
|
public void drawBackground( int recipe )
|
||||||
{
|
{
|
||||||
GL11.glColor4f( 1, 1, 1, 1 );
|
GL11.glColor4f( 1, 1, 1, 1 );
|
||||||
changeTexture( this.getGuiTexture() );
|
GuiDraw.changeTexture( this.getGuiTexture() );
|
||||||
drawTexturedModalRect( 40, 10, 75, 16 + 10, 90, 66 );
|
GuiDraw.drawTexturedModalRect( 40, 10, 75, 16 + 10, 90, 66 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
package appeng.integration.modules.NEIHelpers;
|
package appeng.integration.modules.NEIHelpers;
|
||||||
|
|
||||||
|
|
||||||
import java.awt.*;
|
import java.awt.Rectangle;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@@ -30,6 +30,7 @@ import net.minecraft.inventory.Container;
|
|||||||
import net.minecraft.item.ItemStack;
|
import net.minecraft.item.ItemStack;
|
||||||
import net.minecraft.util.ResourceLocation;
|
import net.minecraft.util.ResourceLocation;
|
||||||
|
|
||||||
|
import codechicken.lib.gui.GuiDraw;
|
||||||
import codechicken.nei.NEIServerUtils;
|
import codechicken.nei.NEIServerUtils;
|
||||||
import codechicken.nei.PositionedStack;
|
import codechicken.nei.PositionedStack;
|
||||||
import codechicken.nei.api.IOverlayHandler;
|
import codechicken.nei.api.IOverlayHandler;
|
||||||
@@ -41,9 +42,6 @@ import appeng.api.features.IInscriberRecipe;
|
|||||||
import appeng.client.gui.implementations.GuiInscriber;
|
import appeng.client.gui.implementations.GuiInscriber;
|
||||||
import appeng.core.localization.GuiText;
|
import appeng.core.localization.GuiText;
|
||||||
|
|
||||||
import static codechicken.lib.gui.GuiDraw.changeTexture;
|
|
||||||
import static codechicken.lib.gui.GuiDraw.drawTexturedModalRect;
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author AlgorithmX2
|
* @author AlgorithmX2
|
||||||
@@ -134,8 +132,8 @@ public class NEIInscriberRecipeHandler extends TemplateRecipeHandler
|
|||||||
public void drawBackground( int recipe )
|
public void drawBackground( int recipe )
|
||||||
{
|
{
|
||||||
GL11.glColor4f( 1, 1, 1, 1 );
|
GL11.glColor4f( 1, 1, 1, 1 );
|
||||||
changeTexture( this.getGuiTexture() );
|
GuiDraw.changeTexture( this.getGuiTexture() );
|
||||||
drawTexturedModalRect( 0, 0, 5, 11, 166, 75 );
|
GuiDraw.drawTexturedModalRect( 0, 0, 5, 11, 166, 75 );
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user