Cleanup
This commit is contained in:
parent
0f89071f4c
commit
816e377eba
9 changed files with 8 additions and 24 deletions
|
@ -88,8 +88,6 @@ public class FluidMech extends DummyModContainer
|
|||
public static final String MOD_ID = "Fluid_Mechanics";
|
||||
public static final String MOD_NAME = "Fluid Mechanics";
|
||||
public static final String VERSION = MAJOR_VERSION + "." + MINOR_VERSION + "." + REVIS_VERSION + "." + BUILD_VERSION;
|
||||
public static final String DEPENDENCIES = "after:UniversalElectricity;after:AtomicScience";
|
||||
public static final boolean USE_METADATA = true;
|
||||
|
||||
// @NetworkMod
|
||||
public static final boolean USES_CLIENT = true;
|
||||
|
|
|
@ -1,15 +1,8 @@
|
|||
package fluidmech.common.block.liquids;
|
||||
|
||||
import static net.minecraftforge.common.ForgeDirection.UP;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import universalelectricity.core.vector.VectorHelper;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.BlockStairs;
|
||||
import net.minecraft.block.BlockStep;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EnumCreatureType;
|
||||
|
@ -17,6 +10,7 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.world.Explosion;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
|
||||
/**
|
||||
* Block prefab for gas that will spread and decay in the world as time goes on. Useful for filling
|
||||
|
|
|
@ -13,7 +13,6 @@ import java.io.IOException;
|
|||
import java.util.Random;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.INetworkManager;
|
||||
import net.minecraft.network.packet.Packet;
|
||||
|
@ -24,7 +23,6 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import net.minecraftforge.liquids.ILiquidTank;
|
||||
import net.minecraftforge.liquids.ITankContainer;
|
||||
import net.minecraftforge.liquids.LiquidContainerRegistry;
|
||||
import net.minecraftforge.liquids.LiquidDictionary;
|
||||
import net.minecraftforge.liquids.LiquidStack;
|
||||
import net.minecraftforge.liquids.LiquidTank;
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@ import hydraulic.fluidnetwork.HydraulicNetworkHelper;
|
|||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
|
|
|
@ -7,7 +7,6 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import net.minecraftforge.liquids.ILiquidTank;
|
||||
import net.minecraftforge.liquids.ITankContainer;
|
||||
import net.minecraftforge.liquids.LiquidContainerData;
|
||||
import net.minecraftforge.liquids.LiquidContainerRegistry;
|
||||
import net.minecraftforge.liquids.LiquidStack;
|
||||
import net.minecraftforge.liquids.LiquidTank;
|
||||
|
|
|
@ -3,14 +3,10 @@ package fluidmech.common.pump.path;
|
|||
import hydraulic.helpers.FluidHelper;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashSet;
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import net.minecraftforge.liquids.LiquidStack;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
package fluidmech.common.telepipe;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import hydraulic.api.IPipeConnection;
|
||||
import hydraulic.fluidnetwork.IFluidNetworkPart;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Used by IFluidNetworkPart to signal this block is remotely connected to another network. It will
|
||||
* cause that network to seak out all other connected network and try to merge them
|
||||
|
|
|
@ -1,5 +1,9 @@
|
|||
package fluidmech.common.telepipe;
|
||||
|
||||
import hydraulic.api.ColorCode;
|
||||
import hydraulic.fluidnetwork.HydraulicNetwork;
|
||||
import hydraulic.prefab.tile.TileEntityFluidDevice;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -9,9 +13,6 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import net.minecraftforge.liquids.ILiquidTank;
|
||||
import net.minecraftforge.liquids.LiquidContainerRegistry;
|
||||
import net.minecraftforge.liquids.LiquidStack;
|
||||
import hydraulic.api.ColorCode;
|
||||
import hydraulic.fluidnetwork.HydraulicNetwork;
|
||||
import hydraulic.prefab.tile.TileEntityFluidDevice;
|
||||
|
||||
public class TileEntityEndPipe extends TileEntityFluidDevice implements INetworkConnector
|
||||
{
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
package hydraulic.api;
|
||||
|
||||
import fluidmech.common.pump.TileEntityConstructionPump;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.liquids.ITankContainer;
|
||||
import net.minecraftforge.liquids.LiquidStack;
|
||||
import fluidmech.common.pump.TileEntityConstructionPump;
|
||||
|
||||
/**
|
||||
* Interface to make or use the TileEntityDrain. In real life a drain would do nothing but act as an
|
||||
|
|
Loading…
Reference in a new issue