Skip to content

Commit

Permalink
optimizes imports
Browse files Browse the repository at this point in the history
  • Loading branch information
way2muchnoise committed Oct 9, 2014
1 parent f3fa917 commit 025e43f
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 24 deletions.
1 change: 1 addition & 0 deletions src/main/java/minechem/fluid/FluidChemical.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;

import java.awt.*;

public class FluidChemical extends Fluid implements IMinechemFluid
Expand Down
3 changes: 2 additions & 1 deletion src/main/java/minechem/fluid/FluidChemicalDispenser.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package minechem.fluid;

import java.util.Random;
import minechem.MinechemItemsRegistration;
import minechem.item.element.ElementEnum;
import minechem.item.element.ElementItem;
Expand All @@ -20,6 +19,8 @@
import net.minecraft.world.World;
import net.minecraftforge.fluids.IFluidBlock;

import java.util.Random;

public class FluidChemicalDispenser implements IBehaviorDispenseItem {

private static final Random ran=new Random();
Expand Down
1 change: 1 addition & 0 deletions src/main/java/minechem/fluid/FluidElement.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.fluids.FluidRegistry;
import net.minecraftforge.fluids.FluidStack;

import java.awt.*;

public class FluidElement extends Fluid implements IMinechemFluid
Expand Down
1 change: 1 addition & 0 deletions src/main/java/minechem/fluid/FluidHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import cpw.mods.fml.common.registry.GameRegistry;
import minechem.item.element.ElementEnum;
import minechem.item.molecule.MoleculeEnum;

import java.util.HashMap;

public class FluidHelper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package minechem.fluid;

import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import minechem.utils.Reference;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraftforge.client.event.TextureStitchEvent;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;

public class FluidTextureStitchHandler {

Expand Down
7 changes: 4 additions & 3 deletions src/main/java/minechem/item/element/ElementEnum.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
package minechem.item.element;

import static minechem.item.element.ElementClassificationEnum.*;
import static minechem.radiation.RadiationEnum.*;
import static minechem.item.ChemicalRoomStateEnum.*;
import minechem.item.ChemicalRoomStateEnum;
import minechem.radiation.RadiationEnum;
import net.minecraft.util.StatCollector;

import static minechem.item.ChemicalRoomStateEnum.*;
import static minechem.item.element.ElementClassificationEnum.*;
import static minechem.radiation.RadiationEnum.*;

public enum ElementEnum
{
H("Hydrogen", nonmetal, gas, stable),//Done
Expand Down
15 changes: 7 additions & 8 deletions src/main/java/minechem/item/element/ElementItem.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
package minechem.item.element;

import java.util.HashMap;
import java.util.List;
import java.util.Map;
import minechem.MinechemItemsRegistration;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import minechem.Minechem;
import minechem.MinechemItemsRegistration;
import minechem.fluid.FluidChemicalDispenser;
import minechem.fluid.FluidHelper;
import minechem.item.ChemicalRoomStateEnum;
Expand All @@ -30,11 +29,11 @@
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.IFluidContainerItem;
import org.lwjgl.input.Keyboard;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class ElementItem extends Item
{
Expand Down
8 changes: 5 additions & 3 deletions src/main/java/minechem/item/molecule/MoleculeEnum.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package minechem.item.molecule;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;
import minechem.item.ChemicalRoomStateEnum;
import minechem.item.element.Element;
import minechem.potion.PotionChemical;
import net.minecraft.util.StatCollector;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.Random;

import static minechem.item.ChemicalRoomStateEnum.*;
import static minechem.item.element.ElementEnum.*;

Expand Down
12 changes: 5 additions & 7 deletions src/main/java/minechem/item/molecule/MoleculeItem.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
package minechem.item.molecule;

import java.util.ArrayList;
import java.util.List;

import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import minechem.Minechem;
import minechem.MinechemItemsRegistration;
import minechem.fluid.FluidHelper;
Expand All @@ -21,10 +20,9 @@
import net.minecraft.util.IIcon;
import net.minecraft.util.MovingObjectPosition;
import net.minecraft.world.World;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraftforge.fluids.FluidStack;
import net.minecraftforge.fluids.IFluidContainerItem;

import java.util.ArrayList;
import java.util.List;

public class MoleculeItem extends Item
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import net.minecraft.item.ItemStack;
import net.minecraft.util.IIcon;
import net.minecraftforge.client.IItemRenderer;

import org.lwjgl.opengl.GL11;

public class MoleculeItemRenderer implements IItemRenderer
Expand Down

0 comments on commit 025e43f

Please sign in to comment.