Moved files around

The ammount of files in this project are getting out of hand tbh. I will
need to sit down later and sort them all out and remove any that are not
needed.
This commit is contained in:
DarkGuardsman 2013-08-28 16:07:15 -04:00
parent 15a4358c39
commit e8bbe5796f
44 changed files with 66 additions and 63 deletions

View file

@ -14,7 +14,7 @@ import net.minecraft.util.Icon;
import net.minecraft.world.World; import net.minecraft.world.World;
import net.minecraftforge.common.Configuration; import net.minecraftforge.common.Configuration;
import dark.core.DarkMain; import dark.core.DarkMain;
import dark.core.blocks.BlockMachine; import dark.prefab.BlockMachine;
public class BlockDebug extends BlockMachine public class BlockDebug extends BlockMachine
{ {

View file

@ -16,7 +16,7 @@ import universalelectricity.core.block.IConductor;
import universalelectricity.core.vector.Vector3; import universalelectricity.core.vector.Vector3;
import universalelectricity.prefab.tile.TileEntityConductor; import universalelectricity.prefab.tile.TileEntityConductor;
import dark.core.DarkMain; import dark.core.DarkMain;
import dark.core.blocks.BlockMachine; import dark.prefab.BlockMachine;
public class BlockWire extends BlockMachine public class BlockWire extends BlockMachine
{ {

View file

@ -2,7 +2,7 @@ package dark.common.transmit;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;
import dark.core.DarkMain; import dark.core.DarkMain;
import dark.core.blocks.TileEntityMachine; import dark.prefab.TileEntityMachine;
public class TileEntityLaserEmitter extends TileEntityMachine public class TileEntityLaserEmitter extends TileEntityMachine
{ {

View file

@ -33,6 +33,7 @@ import dark.core.blocks.BlockMulti;
import dark.core.blocks.BlockOre; import dark.core.blocks.BlockOre;
import dark.core.blocks.TileEntityMulti; import dark.core.blocks.TileEntityMulti;
import dark.core.helpers.FluidRestrictionHandler; import dark.core.helpers.FluidRestrictionHandler;
import dark.core.helpers.SaveManager;
import dark.core.items.EnumMeterials; import dark.core.items.EnumMeterials;
import dark.core.items.ItemBattery; import dark.core.items.ItemBattery;
import dark.core.items.ItemBlockHolder; import dark.core.items.ItemBlockHolder;
@ -42,6 +43,7 @@ import dark.core.items.ItemParts;
import dark.core.items.ItemParts.Parts; import dark.core.items.ItemParts.Parts;
import dark.core.items.ItemTools; import dark.core.items.ItemTools;
import dark.core.items.ItemWrench; import dark.core.items.ItemWrench;
import dark.prefab.ModPrefab;
/** @author HangCow, DarkGuardsman */ /** @author HangCow, DarkGuardsman */
@Mod(modid = DarkMain.MOD_ID, name = DarkMain.MOD_NAME, version = DarkMain.VERSION, dependencies = "after:BuildCraft|Energy", useMetadata = true) @Mod(modid = DarkMain.MOD_ID, name = DarkMain.MOD_NAME, version = DarkMain.VERSION, dependencies = "after:BuildCraft|Energy", useMetadata = true)

View file

@ -4,8 +4,8 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.MinecraftForge;
import cpw.mods.fml.common.Mod.ServerStarting; import cpw.mods.fml.common.Mod.ServerStarting;
import cpw.mods.fml.common.event.FMLServerStartingEvent; import cpw.mods.fml.common.event.FMLServerStartingEvent;
import dark.core.INbtSave; import dark.core.helpers.INbtSave;
import dark.core.SaveManager; import dark.core.helpers.SaveManager;
public class GlobalAccessLoader implements INbtSave public class GlobalAccessLoader implements INbtSave
{ {

View file

@ -8,7 +8,7 @@ import java.util.Map;
import java.util.Map.Entry; import java.util.Map.Entry;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;
import dark.core.NBTFileLoader; import dark.core.helpers.NBTFileLoader;
public class GlobalAccessManager public class GlobalAccessManager
{ {

View file

@ -2,7 +2,7 @@ package dark.core.blocks;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import universalelectricity.core.vector.Vector3; import universalelectricity.core.vector.Vector3;
import dark.api.IBlockActivate; import dark.interfaces.IBlockActivate;
/** Interface to be applied to tile entity blocks that occupies more than one block space. Useful for /** Interface to be applied to tile entity blocks that occupies more than one block space. Useful for
* large machines. * large machines.

View file

@ -19,9 +19,9 @@ import universalelectricity.core.vector.Vector2;
import universalelectricity.prefab.vector.Region2; import universalelectricity.prefab.vector.Region2;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import dark.api.IScroll;
import dark.core.DarkMain; import dark.core.DarkMain;
import dark.core.access.UserAccess; import dark.core.access.UserAccess;
import dark.interfaces.IScroll;
@SideOnly(Side.CLIENT) @SideOnly(Side.CLIENT)
public class GuiGlobalList extends GuiContainer implements IScroll public class GuiGlobalList extends GuiContainer implements IScroll

View file

@ -8,7 +8,7 @@ import net.minecraftforge.fluids.FluidRegistry.FluidRegisterEvent;
import com.google.common.collect.BiMap; import com.google.common.collect.BiMap;
import com.google.common.collect.HashBiMap; import com.google.common.collect.HashBiMap;
import dark.api.ColorCode; import dark.interfaces.ColorCode;
public class FluidRestrictionHandler public class FluidRestrictionHandler
{ {

View file

@ -1,4 +1,4 @@
package dark.core; package dark.core.helpers;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;

View file

@ -1,4 +1,4 @@
package dark.core; package dark.core.helpers;
import java.io.File; import java.io.File;
import java.io.FileInputStream; import java.io.FileInputStream;

View file

@ -1,8 +1,9 @@
package dark.core; package dark.core.helpers;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
import net.minecraftforge.common.MinecraftForge; import net.minecraftforge.common.MinecraftForge;
public class SaveManager public class SaveManager

View file

@ -20,10 +20,10 @@ import universalelectricity.core.block.IElectrical;
import universalelectricity.core.block.IElectricalStorage; import universalelectricity.core.block.IElectricalStorage;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import dark.api.IToolReadOut;
import dark.api.IToolReadOut.EnumTools;
import dark.core.DarkMain; import dark.core.DarkMain;
import dark.core.helpers.FluidHelper; import dark.core.helpers.FluidHelper;
import dark.interfaces.IToolReadOut;
import dark.interfaces.IToolReadOut.EnumTools;
public class ItemTools extends ItemBasic public class ItemTools extends ItemBasic
{ {

View file

@ -4,8 +4,8 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import dark.api.ISpecialAccess; import dark.interfaces.ISpecialAccess;
import dark.api.ITerminal; import dark.interfaces.ITerminal;
public class CommandHelp extends TerminalCommand public class CommandHelp extends TerminalCommand
{ {

View file

@ -4,7 +4,7 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import dark.api.ITerminal; import dark.interfaces.ITerminal;
/** @author Calclavia, DarkGuardsman */ /** @author Calclavia, DarkGuardsman */
public class CommandRegistry public class CommandRegistry

View file

@ -4,9 +4,9 @@ import java.util.ArrayList;
import java.util.List; import java.util.List;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import dark.api.ISpecialAccess;
import dark.api.ITerminal;
import dark.core.access.AccessLevel; import dark.core.access.AccessLevel;
import dark.interfaces.ISpecialAccess;
import dark.interfaces.ITerminal;
public class CommandUser extends TerminalCommand public class CommandUser extends TerminalCommand
{ {

View file

@ -3,8 +3,8 @@ package dark.core.terminal;
import java.util.List; import java.util.List;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import dark.api.ISpecialAccess; import dark.interfaces.ISpecialAccess;
import dark.api.ITerminal; import dark.interfaces.ITerminal;
/** @author Calclavia, DarkGuardsman */ /** @author Calclavia, DarkGuardsman */
public abstract class TerminalCommand public abstract class TerminalCommand

View file

@ -20,11 +20,11 @@ import com.google.common.io.ByteArrayDataInput;
import cpw.mods.fml.common.FMLLog; import cpw.mods.fml.common.FMLLog;
import cpw.mods.fml.common.network.PacketDispatcher; import cpw.mods.fml.common.network.PacketDispatcher;
import cpw.mods.fml.common.network.Player; import cpw.mods.fml.common.network.Player;
import dark.api.ISpecialAccess;
import dark.api.ITerminal;
import dark.core.access.AccessLevel; import dark.core.access.AccessLevel;
import dark.core.access.UserAccess; import dark.core.access.UserAccess;
import dark.core.blocks.TileEntityMachine; import dark.interfaces.ISpecialAccess;
import dark.interfaces.ITerminal;
import dark.prefab.TileEntityMachine;
/** @author Calclavia, DarkGuardsman */ /** @author Calclavia, DarkGuardsman */
public abstract class TileEntityTerminal extends TileEntityMachine implements ISpecialAccess, IPacketReceiver, ITerminal public abstract class TileEntityTerminal extends TileEntityMachine implements ISpecialAccess, IPacketReceiver, ITerminal

View file

@ -8,7 +8,7 @@ import net.minecraft.world.World;
import universalelectricity.core.path.IPathCallBack; import universalelectricity.core.path.IPathCallBack;
import universalelectricity.core.path.Pathfinder; import universalelectricity.core.path.Pathfinder;
import universalelectricity.core.vector.Vector3; import universalelectricity.core.vector.Vector3;
import dark.api.INetworkPart; import dark.interfaces.INetworkPart;
/** Check if a conductor connects with another. */ /** Check if a conductor connects with another. */
public class NetworkPathFinder extends Pathfinder public class NetworkPathFinder extends Pathfinder

View file

@ -2,9 +2,9 @@ package dark.core.tile.network;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import universalelectricity.core.block.IElectricalStorage; import universalelectricity.core.block.IElectricalStorage;
import dark.api.INetworkEnergyPart; import dark.interfaces.INetworkEnergyPart;
import dark.api.INetworkPart; import dark.interfaces.INetworkPart;
import dark.api.IPowerLess; import dark.interfaces.IPowerLess;
/** Used for tile networks that only need to share power or act like a group battery that doesn't /** Used for tile networks that only need to share power or act like a group battery that doesn't
* store power on world save * store power on world save

View file

@ -12,8 +12,8 @@ import universalelectricity.core.path.Pathfinder;
import universalelectricity.core.vector.Vector3; import universalelectricity.core.vector.Vector3;
import universalelectricity.core.vector.VectorHelper; import universalelectricity.core.vector.VectorHelper;
import cpw.mods.fml.common.FMLLog; import cpw.mods.fml.common.FMLLog;
import dark.api.INetworkPart;
import dark.core.helpers.ConnectionHelper; import dark.core.helpers.ConnectionHelper;
import dark.interfaces.INetworkPart;
public abstract class NetworkTileEntities public abstract class NetworkTileEntities
{ {

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
public enum ColorCode public enum ColorCode
{ {

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
public interface IColorCoded public interface IColorCoded
{ {

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
/** This class should be applied to all tile entities (mainly machines) that can be disabled (by /** This class should be applied to all tile entities (mainly machines) that can be disabled (by
* things like EMP, short circuit etc.). * things like EMP, short circuit etc.).

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import net.minecraft.inventory.IInventory; import net.minecraft.inventory.IInventory;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import net.minecraft.inventory.ISidedInventory; import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import universalelectricity.core.block.IElectricalStorage; import universalelectricity.core.block.IElectricalStorage;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import java.util.List; import java.util.List;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
public interface IPowerLess public interface IPowerLess
{ {

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
/** A tileEntity that receives a pressure driven fluid. Suggested to use some of the class from /** A tileEntity that receives a pressure driven fluid. Suggested to use some of the class from
* net.minecraftforge.liquids too make your machine work with other fluid mods that don't use * net.minecraftforge.liquids too make your machine work with other fluid mods that don't use

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
public interface IScroll public interface IScroll
{ {

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import java.util.List; import java.util.List;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import java.util.List; import java.util.List;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;

View file

@ -1,6 +1,6 @@
package dark.api; package dark.interfaces;
import dark.api.IToolReadOut.EnumTools; import dark.interfaces.IToolReadOut.EnumTools;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;

View file

@ -1,4 +1,4 @@
package dark.api; package dark.interfaces;
import cpw.mods.fml.common.Loader; import cpw.mods.fml.common.Loader;

View file

@ -1,4 +1,4 @@
package dark.core.blocks; package dark.prefab;
import net.minecraft.block.ITileEntityProvider; import net.minecraft.block.ITileEntityProvider;
import net.minecraft.block.material.Material; import net.minecraft.block.material.Material;
@ -15,8 +15,8 @@ import net.minecraftforge.common.Configuration;
import universalelectricity.prefab.block.BlockAdvanced; import universalelectricity.prefab.block.BlockAdvanced;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import dark.api.INetworkPart;
import dark.core.DarkMain; import dark.core.DarkMain;
import dark.interfaces.INetworkPart;
/** Basic TileEntity Container class designed to be used by generic machines. It is suggested that /** Basic TileEntity Container class designed to be used by generic machines. It is suggested that
* each mod using this create there own basic block extending this to reduce need to input config * each mod using this create there own basic block extending this to reduce need to input config

View file

@ -1,4 +1,4 @@
package dark.core.blocks; package dark.prefab;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
@ -6,8 +6,8 @@ import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList; import net.minecraft.nbt.NBTTagList;
import net.minecraft.tileentity.TileEntity; import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;
import dark.api.IExternalInv; import dark.interfaces.IExternalInv;
import dark.api.IInvBox; import dark.interfaces.IInvBox;
public class InvChest implements IInvBox public class InvChest implements IInvBox
{ {

View file

@ -1,4 +1,4 @@
package dark.core; package dark.prefab;
import net.minecraft.block.Block; import net.minecraft.block.Block;

View file

@ -1,4 +1,4 @@
package dark.core.blocks; package dark.prefab;
import net.minecraft.entity.player.EntityPlayer; import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.ISidedInventory; import net.minecraft.inventory.ISidedInventory;
@ -6,8 +6,8 @@ import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound; import net.minecraft.nbt.NBTTagCompound;
import net.minecraftforge.common.ForgeDirection; import net.minecraftforge.common.ForgeDirection;
import universalelectricity.prefab.tile.TileEntityAdvanced; import universalelectricity.prefab.tile.TileEntityAdvanced;
import dark.api.IExternalInv; import dark.interfaces.IExternalInv;
import dark.api.IInvBox; import dark.interfaces.IInvBox;
public class TileEntityInv extends TileEntityAdvanced implements IExternalInv, ISidedInventory public class TileEntityInv extends TileEntityAdvanced implements IExternalInv, ISidedInventory
{ {

View file

@ -1,4 +1,4 @@
package dark.core.blocks; package dark.prefab;
import java.io.ByteArrayInputStream; import java.io.ByteArrayInputStream;
import java.io.DataInputStream; import java.io.DataInputStream;
@ -23,11 +23,11 @@ import com.google.common.io.ByteArrayDataInput;
import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly; import cpw.mods.fml.relauncher.SideOnly;
import dark.api.IDisableable; import dark.interfaces.IDisableable;
import dark.api.IExternalInv; import dark.interfaces.IExternalInv;
import dark.api.IInvBox; import dark.interfaces.IInvBox;
import dark.api.IPowerLess; import dark.interfaces.IPowerLess;
import dark.api.PowerSystems; import dark.interfaces.PowerSystems;
public abstract class TileEntityMachine extends TileEntityUniversalElectrical implements ISidedInventory, IExternalInv, IDisableable, IPacketReceiver, IPowerLess public abstract class TileEntityMachine extends TileEntityUniversalElectrical implements ISidedInventory, IExternalInv, IDisableable, IPacketReceiver, IPowerLess
{ {