Skip to content

Commit

Permalink
organize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulvdberge committed Jan 31, 2016
1 parent f08f320 commit 4369952
Show file tree
Hide file tree
Showing 10 changed files with 13 additions and 21 deletions.
5 changes: 2 additions & 3 deletions src/main/java/storagecraft/container/ContainerBase.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package storagecraft.container;

import java.util.ArrayList;
import java.util.List;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.Container;
import net.minecraft.inventory.Slot;
import net.minecraft.item.ItemStack;
import storagecraft.container.slot.SlotSpecimen;

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

public abstract class ContainerBase extends Container
{
private EntityPlayer player;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/storagecraft/item/ItemCore.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package storagecraft.item;

import java.util.List;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

import java.util.List;

public class ItemCore extends ItemBase
{
public static final int TYPE_CONSTRUCTION = 0;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/storagecraft/item/ItemProcessor.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package storagecraft.item;

import java.util.List;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

import java.util.List;

public class ItemProcessor extends ItemBase
{
public static final int TYPE_PRINTED_BASIC = 0;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/storagecraft/item/ItemStoragePart.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package storagecraft.item;

import java.util.List;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;

import java.util.List;

public class ItemStoragePart extends ItemBase
{
public static final int TYPE_1K = 0;
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/storagecraft/item/ItemWirelessGrid.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package storagecraft.item;

import java.util.List;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.Item;
Expand All @@ -15,8 +16,6 @@
import storagecraft.tile.TileGrid;
import storagecraft.tile.TileWirelessTransmitter;

import java.util.List;

public class ItemWirelessGrid extends ItemBase
{
public static final String NBT_WIRELESS_TRANSMITTER_X = "WirelessTransmitterX";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/storagecraft/storage/IStorageGui.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

import net.minecraft.inventory.IInventory;
import storagecraft.tile.settings.ICompareSetting;
import storagecraft.tile.settings.IRedstoneModeSetting;
import storagecraft.tile.settings.IModeSetting;
import storagecraft.tile.settings.IRedstoneModeSetting;

public interface IStorageGui
{
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/storagecraft/tile/TileCable.java
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package storagecraft.tile;

import java.util.List;
import net.minecraft.tileentity.TileEntity;
import net.minecraft.util.BlockPos;
import net.minecraft.util.EnumFacing;
import net.minecraft.world.World;
import storagecraft.block.BlockCable;

import java.util.List;

public class TileCable extends TileBase
{
public static boolean isCable(World world, BlockPos pos)
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/storagecraft/tile/TileDestructor.java
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package storagecraft.tile;

import java.util.List;
import net.minecraft.block.Block;
import net.minecraft.item.ItemStack;
import net.minecraft.util.BlockPos;
import storagecraft.util.InventoryUtils;

import java.util.List;

public class TileDestructor extends TileMachine
{
@Override
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/storagecraft/tile/TileMachine.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package storagecraft.tile;

import storagecraft.tile.settings.RedstoneMode;
import storagecraft.tile.settings.IRedstoneModeSetting;
import io.netty.buffer.ByteBuf;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.BlockPos;
import storagecraft.block.BlockMachine;
import storagecraft.tile.settings.IRedstoneModeSetting;
import storagecraft.tile.settings.RedstoneMode;

public abstract class TileMachine extends TileBase implements INetworkTile, IRedstoneModeSetting
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package storagecraft.tile.solderer;

import java.util.ArrayList;
import java.util.List;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack;
import storagecraft.util.InventoryUtils;

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

public class SoldererRegistry
{
public static List<ISoldererRecipe> recipes = new ArrayList<ISoldererRecipe>();
Expand Down

0 comments on commit 4369952

Please sign in to comment.