main package rename
This commit is contained in:
parent
7acf0a5642
commit
4128b63e47
95 changed files with 290 additions and 274 deletions
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
/**
|
||||
* The IUseable inteface is used by the ArmBot so that it may interact with Tile Entities. onUse
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
public interface ICraneStructure extends ICraneConnectable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.api;
|
||||
package dark.assembly.api;
|
||||
|
||||
/**
|
||||
* Interface applied to the manipulator.
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client;
|
||||
package dark.assembly.client;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
|
@ -8,33 +8,33 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.client.gui.GuiEncoder;
|
||||
import assemblyline.client.gui.GuiImprinter;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.client.render.RenderArmbot;
|
||||
import assemblyline.client.render.RenderConveyorBelt;
|
||||
import assemblyline.client.render.RenderCraneController;
|
||||
import assemblyline.client.render.RenderCraneFrame;
|
||||
import assemblyline.client.render.RenderCrate;
|
||||
import assemblyline.client.render.RenderDetector;
|
||||
import assemblyline.client.render.RenderManipulator;
|
||||
import assemblyline.client.render.RenderRejector;
|
||||
import assemblyline.common.CommonProxy;
|
||||
import assemblyline.common.armbot.TileEntityArmbot;
|
||||
import assemblyline.common.imprinter.TileEntityImprinter;
|
||||
import assemblyline.common.machine.TileEntityCrate;
|
||||
import assemblyline.common.machine.TileEntityManipulator;
|
||||
import assemblyline.common.machine.TileEntityRejector;
|
||||
import assemblyline.common.machine.belt.TileEntityConveyorBelt;
|
||||
import assemblyline.common.machine.crane.TileEntityCraneController;
|
||||
import assemblyline.common.machine.crane.TileEntityCraneRail;
|
||||
import assemblyline.common.machine.detector.TileEntityDetector;
|
||||
import assemblyline.common.machine.encoder.TileEntityEncoder;
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import dark.assembly.client.gui.GuiEncoder;
|
||||
import dark.assembly.client.gui.GuiImprinter;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.client.render.RenderArmbot;
|
||||
import dark.assembly.client.render.RenderConveyorBelt;
|
||||
import dark.assembly.client.render.RenderCraneController;
|
||||
import dark.assembly.client.render.RenderCraneFrame;
|
||||
import dark.assembly.client.render.RenderCrate;
|
||||
import dark.assembly.client.render.RenderDetector;
|
||||
import dark.assembly.client.render.RenderManipulator;
|
||||
import dark.assembly.client.render.RenderRejector;
|
||||
import dark.assembly.common.CommonProxy;
|
||||
import dark.assembly.common.armbot.TileEntityArmbot;
|
||||
import dark.assembly.common.imprinter.TileEntityImprinter;
|
||||
import dark.assembly.common.machine.TileEntityCrate;
|
||||
import dark.assembly.common.machine.TileEntityManipulator;
|
||||
import dark.assembly.common.machine.TileEntityRejector;
|
||||
import dark.assembly.common.machine.belt.TileEntityConveyorBelt;
|
||||
import dark.assembly.common.machine.crane.TileEntityCraneController;
|
||||
import dark.assembly.common.machine.crane.TileEntityCraneRail;
|
||||
import dark.assembly.common.machine.detector.TileEntityDetector;
|
||||
import dark.assembly.common.machine.encoder.TileEntityEncoder;
|
||||
import dark.core.DarkMain;
|
||||
import dark.library.effects.FXBeam;
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
package assemblyline.client;
|
||||
package dark.assembly.client;
|
||||
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import net.minecraftforge.client.event.sound.SoundLoadEvent;
|
||||
import net.minecraftforge.event.ForgeSubscribe;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
|
||||
public class SoundHandler
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.gui;
|
||||
package dark.assembly.client.gui;
|
||||
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
|
@ -9,9 +9,9 @@ import net.minecraft.world.World;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class GuiAutoCrafting extends GuiContainer
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.gui;
|
||||
package dark.assembly.client.gui;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.gui;
|
||||
package dark.assembly.client.gui;
|
||||
|
||||
import static org.lwjgl.opengl.GL11.GL_LIGHTING;
|
||||
import static org.lwjgl.opengl.GL11.glColor4f;
|
||||
|
@ -23,12 +23,12 @@ import org.lwjgl.opengl.GL11;
|
|||
|
||||
import universalelectricity.prefab.TranslationHelper;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.encoder.ContainerEncoder;
|
||||
import assemblyline.common.machine.encoder.IInventoryWatcher;
|
||||
import assemblyline.common.machine.encoder.ItemDisk;
|
||||
import assemblyline.common.machine.encoder.TileEntityEncoder;
|
||||
import cpw.mods.fml.common.network.PacketDispatcher;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.encoder.ContainerEncoder;
|
||||
import dark.assembly.common.machine.encoder.IInventoryWatcher;
|
||||
import dark.assembly.common.machine.encoder.ItemDisk;
|
||||
import dark.assembly.common.machine.encoder.TileEntityEncoder;
|
||||
|
||||
public class GuiEncoder extends GuiContainer implements IInventoryWatcher
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.gui;
|
||||
package dark.assembly.client.gui;
|
||||
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
|
@ -6,10 +6,11 @@ import net.minecraft.util.ResourceLocation;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.imprinter.ContainerImprinter;
|
||||
import dark.assembly.common.imprinter.TileEntityImprinter;
|
||||
|
||||
import universalelectricity.prefab.TranslationHelper;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.imprinter.ContainerImprinter;
|
||||
import assemblyline.common.imprinter.TileEntityImprinter;
|
||||
|
||||
public class GuiImprinter extends GuiContainer
|
||||
{
|
|
@ -4,7 +4,7 @@
|
|||
// Keep in mind that you still need to fill in some blanks
|
||||
// - ZeuX
|
||||
|
||||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -4,7 +4,7 @@
|
|||
// Keep in mind that you still need to fill in some blanks
|
||||
// - ZeuX
|
||||
|
||||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import static org.lwjgl.opengl.GL11.GL_QUADS;
|
||||
import static org.lwjgl.opengl.GL11.glBegin;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -4,7 +4,7 @@
|
|||
// Keep in mind that you still need to fill in some blanks
|
||||
// - ZeuX
|
||||
|
||||
package assemblyline.client.model;
|
||||
package dark.assembly.client.model;
|
||||
|
||||
import net.minecraft.client.model.ModelBase;
|
||||
import net.minecraft.client.model.ModelRenderer;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
|
@ -7,15 +7,15 @@ import net.minecraft.world.IBlockAccess;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import assemblyline.client.model.ModelConveyorBelt;
|
||||
import assemblyline.client.model.ModelManipulator;
|
||||
import assemblyline.client.model.ModelRejectorPiston;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.client.registry.ISimpleBlockRenderingHandler;
|
||||
import cpw.mods.fml.client.registry.RenderingRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.model.ModelConveyorBelt;
|
||||
import dark.assembly.client.model.ModelManipulator;
|
||||
import dark.assembly.client.model.ModelRejectorPiston;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class BlockRenderingHandler implements ISimpleBlockRenderingHandler
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
|
@ -14,10 +14,11 @@ import net.minecraft.util.ResourceLocation;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import dark.assembly.client.model.ModelArmbot;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.armbot.TileEntityArmbot;
|
||||
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.client.model.ModelArmbot;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.armbot.TileEntityArmbot;
|
||||
|
||||
public class RenderArmbot extends TileEntitySpecialRenderer
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
@ -6,13 +6,13 @@ import net.minecraft.util.ResourceLocation;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import assemblyline.client.model.ModelAngledBelt;
|
||||
import assemblyline.client.model.ModelConveyorBelt;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.belt.TileEntityConveyorBelt;
|
||||
import assemblyline.common.machine.belt.TileEntityConveyorBelt.SlantType;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.model.ModelAngledBelt;
|
||||
import dark.assembly.client.model.ModelConveyorBelt;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.belt.TileEntityConveyorBelt;
|
||||
import dark.assembly.common.machine.belt.TileEntityConveyorBelt.SlantType;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class RenderConveyorBelt extends TileEntitySpecialRenderer
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import static org.lwjgl.opengl.GL11.GL_LIGHTING;
|
||||
import static org.lwjgl.opengl.GL11.glEnable;
|
||||
|
@ -6,13 +6,13 @@ import static org.lwjgl.opengl.GL11.glPopMatrix;
|
|||
import static org.lwjgl.opengl.GL11.glPushMatrix;
|
||||
import static org.lwjgl.opengl.GL11.glRotatef;
|
||||
import static org.lwjgl.opengl.GL11.glTranslated;
|
||||
import dark.assembly.client.model.ModelCraneController;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.crane.CraneHelper;
|
||||
import dark.assembly.common.machine.crane.TileEntityCraneController;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import assemblyline.client.model.ModelCraneController;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.crane.CraneHelper;
|
||||
import assemblyline.common.machine.crane.TileEntityCraneController;
|
||||
|
||||
public class RenderCraneController extends RenderImprintable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import static org.lwjgl.opengl.GL11.GL_LIGHTING;
|
||||
import static org.lwjgl.opengl.GL11.glEnable;
|
||||
|
@ -6,14 +6,14 @@ import static org.lwjgl.opengl.GL11.glPopMatrix;
|
|||
import static org.lwjgl.opengl.GL11.glPushMatrix;
|
||||
import static org.lwjgl.opengl.GL11.glRotatef;
|
||||
import static org.lwjgl.opengl.GL11.glTranslated;
|
||||
import dark.assembly.client.model.ModelCraneRail;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.crane.CraneHelper;
|
||||
import dark.assembly.common.machine.crane.TileEntityCraneRail;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import assemblyline.client.model.ModelCraneRail;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.crane.CraneHelper;
|
||||
import assemblyline.common.machine.crane.TileEntityCraneRail;
|
||||
|
||||
public class RenderCraneFrame extends TileEntitySpecialRenderer
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.FontRenderer;
|
||||
|
@ -17,8 +17,9 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import dark.assembly.common.machine.TileEntityCrate;
|
||||
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.common.machine.TileEntityCrate;
|
||||
|
||||
public class RenderCrate extends TileEntitySpecialRenderer
|
||||
{
|
|
@ -1,17 +1,17 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import static assemblyline.client.model.ModelHelper.drawCuboid;
|
||||
import static assemblyline.client.model.ModelHelper.setGlobalTextureResolution;
|
||||
import static assemblyline.client.model.ModelHelper.setTextureClip;
|
||||
import static assemblyline.client.model.ModelHelper.setTextureSubResolution;
|
||||
import static dark.assembly.client.model.ModelHelper.drawCuboid;
|
||||
import static dark.assembly.client.model.ModelHelper.setGlobalTextureResolution;
|
||||
import static dark.assembly.client.model.ModelHelper.setTextureClip;
|
||||
import static dark.assembly.client.model.ModelHelper.setTextureSubResolution;
|
||||
import static org.lwjgl.opengl.GL11.glPopMatrix;
|
||||
import static org.lwjgl.opengl.GL11.glPushMatrix;
|
||||
import static org.lwjgl.opengl.GL11.glTranslated;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.client.model.ModelHelper;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.model.ModelHelper;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class RenderDetector extends RenderImprintable
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.client.gui.FontRenderer;
|
||||
import net.minecraft.client.renderer.OpenGlHelper;
|
|
@ -1,15 +1,16 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import dark.assembly.common.imprinter.ItemImprinter;
|
||||
import dark.assembly.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.MovingObjectPosition;
|
||||
import assemblyline.common.imprinter.ItemImprinter;
|
||||
import assemblyline.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
/**
|
||||
* @author Briman0094
|
|
@ -1,13 +1,14 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import assemblyline.client.model.ModelManipulator;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.TileEntityManipulator;
|
||||
import dark.assembly.client.model.ModelManipulator;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.TileEntityManipulator;
|
||||
|
||||
|
||||
public class RenderManipulator extends RenderImprintable
|
||||
{
|
|
@ -1,13 +1,14 @@
|
|||
package assemblyline.client.render;
|
||||
package dark.assembly.client.render;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import assemblyline.client.model.ModelRejectorPiston;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.TileEntityRejector;
|
||||
import dark.assembly.client.model.ModelRejectorPiston;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.TileEntityRejector;
|
||||
|
||||
|
||||
public class RenderRejector extends RenderImprintable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common;
|
||||
package dark.assembly.common;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.Arrays;
|
||||
|
@ -14,30 +14,6 @@ import org.modstats.Modstats;
|
|||
|
||||
import universalelectricity.prefab.TranslationHelper;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import assemblyline.common.armbot.BlockArmbot;
|
||||
import assemblyline.common.armbot.TileEntityArmbot;
|
||||
import assemblyline.common.imprinter.BlockImprinter;
|
||||
import assemblyline.common.imprinter.ItemImprinter;
|
||||
import assemblyline.common.imprinter.TileEntityImprinter;
|
||||
import assemblyline.common.machine.BlockCrate;
|
||||
import assemblyline.common.machine.BlockManipulator;
|
||||
import assemblyline.common.machine.BlockRejector;
|
||||
import assemblyline.common.machine.BlockTurntable;
|
||||
import assemblyline.common.machine.ItemBlockCrate;
|
||||
import assemblyline.common.machine.TileEntityCrate;
|
||||
import assemblyline.common.machine.TileEntityManipulator;
|
||||
import assemblyline.common.machine.TileEntityRejector;
|
||||
import assemblyline.common.machine.belt.BlockConveyorBelt;
|
||||
import assemblyline.common.machine.belt.TileEntityConveyorBelt;
|
||||
import assemblyline.common.machine.crane.BlockCraneController;
|
||||
import assemblyline.common.machine.crane.BlockCraneFrame;
|
||||
import assemblyline.common.machine.crane.TileEntityCraneController;
|
||||
import assemblyline.common.machine.crane.TileEntityCraneRail;
|
||||
import assemblyline.common.machine.detector.BlockDetector;
|
||||
import assemblyline.common.machine.detector.TileEntityDetector;
|
||||
import assemblyline.common.machine.encoder.BlockEncoder;
|
||||
import assemblyline.common.machine.encoder.ItemDisk;
|
||||
import assemblyline.common.machine.encoder.TileEntityEncoder;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
@ -53,6 +29,30 @@ import cpw.mods.fml.common.network.NetworkMod;
|
|||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import dark.assembly.common.armbot.BlockArmbot;
|
||||
import dark.assembly.common.armbot.TileEntityArmbot;
|
||||
import dark.assembly.common.imprinter.BlockImprinter;
|
||||
import dark.assembly.common.imprinter.ItemImprinter;
|
||||
import dark.assembly.common.imprinter.TileEntityImprinter;
|
||||
import dark.assembly.common.machine.BlockCrate;
|
||||
import dark.assembly.common.machine.BlockManipulator;
|
||||
import dark.assembly.common.machine.BlockRejector;
|
||||
import dark.assembly.common.machine.BlockTurntable;
|
||||
import dark.assembly.common.machine.ItemBlockCrate;
|
||||
import dark.assembly.common.machine.TileEntityCrate;
|
||||
import dark.assembly.common.machine.TileEntityManipulator;
|
||||
import dark.assembly.common.machine.TileEntityRejector;
|
||||
import dark.assembly.common.machine.belt.BlockConveyorBelt;
|
||||
import dark.assembly.common.machine.belt.TileEntityConveyorBelt;
|
||||
import dark.assembly.common.machine.crane.BlockCraneController;
|
||||
import dark.assembly.common.machine.crane.BlockCraneFrame;
|
||||
import dark.assembly.common.machine.crane.TileEntityCraneController;
|
||||
import dark.assembly.common.machine.crane.TileEntityCraneRail;
|
||||
import dark.assembly.common.machine.detector.BlockDetector;
|
||||
import dark.assembly.common.machine.detector.TileEntityDetector;
|
||||
import dark.assembly.common.machine.encoder.BlockEncoder;
|
||||
import dark.assembly.common.machine.encoder.ItemDisk;
|
||||
import dark.assembly.common.machine.encoder.TileEntityEncoder;
|
||||
import dark.core.DarkMain;
|
||||
import dark.core.ModPrefab;
|
||||
import dark.prefab.machine.BlockMulti;
|
||||
|
@ -76,7 +76,7 @@ public class AssemblyLine extends ModPrefab
|
|||
// @NetworkMod
|
||||
public static final String CHANNEL = "AssemblyLine";
|
||||
|
||||
@SidedProxy(clientSide = "assemblyline.client.ClientProxy", serverSide = "assemblyline.common.CommonProxy")
|
||||
@SidedProxy(clientSide = "dark.assembly.client.ClientProxy", serverSide = "dark.assembly.common.CommonProxy")
|
||||
public static CommonProxy proxy;
|
||||
|
||||
@Instance(AssemblyLine.CHANNEL)
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common;
|
||||
package dark.assembly.common;
|
||||
|
||||
import java.awt.Color;
|
||||
import java.io.File;
|
||||
|
@ -11,12 +11,12 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.common.imprinter.ContainerImprinter;
|
||||
import assemblyline.common.imprinter.TileEntityImprinter;
|
||||
import assemblyline.common.machine.encoder.ContainerEncoder;
|
||||
import assemblyline.common.machine.encoder.TileEntityEncoder;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
import dark.assembly.common.imprinter.ContainerImprinter;
|
||||
import dark.assembly.common.imprinter.TileEntityImprinter;
|
||||
import dark.assembly.common.machine.encoder.ContainerEncoder;
|
||||
import dark.assembly.common.machine.encoder.TileEntityEncoder;
|
||||
|
||||
public class CommonProxy implements IGuiHandler
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common;
|
||||
package dark.assembly.common;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common;
|
||||
package dark.assembly.common;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot;
|
||||
package dark.assembly.common.armbot;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
|
@ -8,10 +8,10 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.world.World;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
import dark.prefab.machine.IMultiBlock;
|
||||
|
||||
public class BlockArmbot extends BlockAssembly
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot;
|
||||
package dark.assembly.common.armbot;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
|
@ -22,24 +22,24 @@ import universalelectricity.core.vector.Vector3;
|
|||
import universalelectricity.prefab.TranslationHelper;
|
||||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import assemblyline.api.IArmbot;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.armbot.command.Command;
|
||||
import assemblyline.common.armbot.command.CommandDrop;
|
||||
import assemblyline.common.armbot.command.CommandFire;
|
||||
import assemblyline.common.armbot.command.CommandGrab;
|
||||
import assemblyline.common.armbot.command.CommandManager;
|
||||
import assemblyline.common.armbot.command.CommandReturn;
|
||||
import assemblyline.common.armbot.command.CommandRotateBy;
|
||||
import assemblyline.common.armbot.command.CommandRotateTo;
|
||||
import assemblyline.common.armbot.command.CommandUse;
|
||||
import assemblyline.common.machine.TileEntityAssembly;
|
||||
import assemblyline.common.machine.encoder.ItemDisk;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import dan200.computer.api.IComputerAccess;
|
||||
import dan200.computer.api.ILuaContext;
|
||||
import dan200.computer.api.IPeripheral;
|
||||
import dark.assembly.api.IArmbot;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.armbot.command.Command;
|
||||
import dark.assembly.common.armbot.command.CommandDrop;
|
||||
import dark.assembly.common.armbot.command.CommandFire;
|
||||
import dark.assembly.common.armbot.command.CommandGrab;
|
||||
import dark.assembly.common.armbot.command.CommandManager;
|
||||
import dark.assembly.common.armbot.command.CommandReturn;
|
||||
import dark.assembly.common.armbot.command.CommandRotateBy;
|
||||
import dark.assembly.common.armbot.command.CommandRotateTo;
|
||||
import dark.assembly.common.armbot.command.CommandUse;
|
||||
import dark.assembly.common.machine.TileEntityAssembly;
|
||||
import dark.assembly.common.machine.encoder.ItemDisk;
|
||||
import dark.core.DarkMain;
|
||||
import dark.helpers.ItemFindingHelper;
|
||||
import dark.prefab.machine.IMultiBlock;
|
|
@ -1,10 +1,11 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.HashMap;
|
||||
|
||||
import dark.assembly.common.armbot.TileEntityArmbot;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.world.World;
|
||||
import assemblyline.common.armbot.TileEntityArmbot;
|
||||
|
||||
/**
|
||||
* An AI Commands that is used by TileEntities with AI.
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
public class CommandDrop extends Command
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.Random;
|
||||
|
|
@ -1,15 +1,16 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import dark.assembly.common.machine.InvInteractionHelper;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.common.machine.InvInteractionHelper;
|
||||
|
||||
public class CommandGive extends Command
|
||||
{
|
|
@ -1,7 +1,9 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import dark.assembly.common.machine.belt.TileEntityConveyorBelt;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityAgeable;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
|
@ -10,7 +12,6 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.common.machine.belt.TileEntityConveyorBelt;
|
||||
|
||||
/**
|
||||
* Used by arms to search for entities in a region
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
/**
|
||||
* Used by arms to break a specific block in a position.
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -6,8 +6,8 @@ import java.util.List;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraft.nbt.NBTTagString;
|
||||
import assemblyline.common.armbot.TileEntityArmbot;
|
||||
import cpw.mods.fml.common.FMLLog;
|
||||
import dark.assembly.common.armbot.TileEntityArmbot;
|
||||
|
||||
public class CommandManager
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.Entity;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
public class CommandReturn extends Command
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
|
@ -1,14 +1,15 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import dark.assembly.common.machine.InvInteractionHelper;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.common.machine.InvInteractionHelper;
|
||||
|
||||
public class CommandTake extends Command
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import dark.assembly.api.IArmbotUseable;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import assemblyline.api.IArmbotUseable;
|
||||
|
||||
public class CommandUse extends Command
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.armbot.command;
|
||||
package dark.assembly.common.armbot.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.imprinter;
|
||||
package dark.assembly.common.imprinter;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
|
@ -12,11 +12,11 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.CommonProxy;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.CommonProxy;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
|
||||
public class BlockImprinter extends BlockAssembly
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package assemblyline.common.imprinter;
|
||||
package dark.assembly.common.imprinter;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.library.gui.ISlotWatcher;
|
||||
import dark.library.gui.SlotCraftingResult;
|
||||
import dark.library.gui.SlotRestricted;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.imprinter;
|
||||
package dark.assembly.common.imprinter;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -13,10 +13,10 @@ import net.minecraft.item.Item;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.TabAssemblyLine;
|
||||
|
||||
public class ItemImprinter extends Item
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.imprinter;
|
||||
package dark.assembly.common.imprinter;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -21,12 +21,12 @@ import universalelectricity.prefab.TranslationHelper;
|
|||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import universalelectricity.prefab.tile.TileEntityAdvanced;
|
||||
import assemblyline.api.IArmbot;
|
||||
import assemblyline.api.IArmbotUseable;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import dark.assembly.api.IArmbot;
|
||||
import dark.assembly.api.IArmbotUseable;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.helpers.Pair;
|
||||
import dark.library.gui.ISlotPickResult;
|
||||
import dark.prefab.machine.AutoCraftingManager;
|
|
@ -1,5 +1,8 @@
|
|||
package assemblyline.common.imprinter.prefab;
|
||||
package dark.assembly.common.imprinter.prefab;
|
||||
|
||||
import dark.assembly.api.IFilterable;
|
||||
import dark.assembly.common.imprinter.ItemImprinter;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
|
@ -9,9 +12,6 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.MathHelper;
|
||||
import net.minecraft.world.World;
|
||||
import assemblyline.api.IFilterable;
|
||||
import assemblyline.common.imprinter.ItemImprinter;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
|
||||
/** Extend this block class if a filter is allowed to be placed inside of this block.
|
||||
*
|
|
@ -1,7 +1,12 @@
|
|||
package assemblyline.common.imprinter.prefab;
|
||||
package dark.assembly.common.imprinter.prefab;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import dark.assembly.api.IFilterable;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.imprinter.ItemImprinter;
|
||||
import dark.assembly.common.machine.TileEntityAssembly;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.packet.Packet;
|
||||
|
@ -9,10 +14,6 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import universalelectricity.prefab.tile.IRotatable;
|
||||
import assemblyline.api.IFilterable;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.imprinter.ItemImprinter;
|
||||
import assemblyline.common.machine.TileEntityAssembly;
|
||||
|
||||
public abstract class TileEntityFilterable extends TileEntityAssembly implements IRotatable, IFilterable, IPacketReceiver
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
|
@ -6,11 +6,11 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.api.INetworkPart;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.TabAssemblyLine;
|
||||
import dark.prefab.machine.BlockMachine;
|
||||
|
||||
public abstract class BlockAssembly extends BlockMachine
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -13,9 +13,9 @@ import net.minecraft.util.Icon;
|
|||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
|
||||
/** A block that allows the placement of mass amount of a specific item within it. It will be allowed
|
||||
* to go on Conveyor Belts
|
|
@ -1,15 +1,15 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraft.world.World;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import assemblyline.common.imprinter.prefab.BlockImprintable;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.common.TabAssemblyLine;
|
||||
import dark.assembly.common.imprinter.prefab.BlockImprintable;
|
||||
|
||||
/**
|
||||
* A block that manipulates item movement between inventories.
|
|
@ -1,13 +1,13 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import assemblyline.common.imprinter.prefab.BlockImprintable;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.common.TabAssemblyLine;
|
||||
import dark.assembly.common.imprinter.prefab.BlockImprintable;
|
||||
|
||||
public class BlockRejector extends BlockImprintable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
|
@ -16,9 +16,9 @@ import net.minecraft.world.World;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import universalelectricity.prefab.tile.IRotatable;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
|
||||
public class BlockTurntable extends BlockAssembly
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import dark.api.INetworkPart;
|
||||
import dark.core.tile.network.NetworkTileEntities;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.DataInputStream;
|
||||
|
@ -18,11 +18,11 @@ import universalelectricity.core.grid.IElectricityNetwork;
|
|||
import universalelectricity.core.vector.Vector3;
|
||||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import dark.api.INetworkPart;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.core.tile.network.NetworkTileEntities;
|
||||
import dark.prefab.machine.TileEntityMachine;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
|
@ -12,12 +12,12 @@ import net.minecraft.network.packet.Packet250CustomPayload;
|
|||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import universalelectricity.prefab.tile.TileEntityAdvanced;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
|
||||
public class TileEntityCrate extends TileEntityAdvanced implements IInventory, IPacketReceiver, ISidedInventory
|
||||
{
|
|
@ -1,7 +1,11 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import dark.assembly.api.IManipulator;
|
||||
import dark.assembly.common.imprinter.ItemImprinter;
|
||||
import dark.assembly.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
@ -9,9 +13,6 @@ import net.minecraft.util.AxisAlignedBB;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import universalelectricity.prefab.tile.IRotatable;
|
||||
import assemblyline.api.IManipulator;
|
||||
import assemblyline.common.imprinter.ItemImprinter;
|
||||
import assemblyline.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
public class TileEntityManipulator extends TileEntityFilterable implements IRotatable, IManipulator
|
||||
{
|
|
@ -1,7 +1,10 @@
|
|||
package assemblyline.common.machine;
|
||||
package dark.assembly.common.machine;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import dark.assembly.api.IBelt;
|
||||
import dark.assembly.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -9,8 +12,6 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.api.IBelt;
|
||||
import assemblyline.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
/** @author Darkguardsman */
|
||||
public class TileEntityRejector extends TileEntityFilterable
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.belt;
|
||||
package dark.assembly.common.machine.belt;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -15,11 +15,11 @@ import net.minecraft.world.IBlockAccess;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
import assemblyline.common.machine.belt.TileEntityConveyorBelt.SlantType;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
import dark.assembly.common.machine.belt.TileEntityConveyorBelt.SlantType;
|
||||
|
||||
/** The block for the actual conveyor belt!
|
||||
*
|
|
@ -1,10 +1,14 @@
|
|||
package assemblyline.common.machine.belt;
|
||||
package dark.assembly.common.machine.belt;
|
||||
|
||||
import java.io.DataInputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import dark.assembly.api.IBelt;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.TileEntityAssembly;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
|
@ -16,9 +20,6 @@ import universalelectricity.core.vector.Vector3;
|
|||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import universalelectricity.prefab.tile.IRotatable;
|
||||
import assemblyline.api.IBelt;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.TileEntityAssembly;
|
||||
|
||||
public class TileEntityConveyorBelt extends TileEntityAssembly implements IPacketReceiver, IBelt, IRotatable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.belt;
|
||||
package dark.assembly.common.machine.belt;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
package dark.assembly.common.machine.crane;
|
||||
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -6,10 +6,10 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
|
||||
public class BlockCraneController extends BlockAssembly
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
package dark.assembly.common.machine.crane;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
|
@ -6,10 +6,10 @@ import net.minecraft.world.IBlockAccess;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.client.render.BlockRenderingHandler;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.client.render.BlockRenderingHandler;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
|
||||
public class BlockCraneFrame extends BlockAssembly
|
||||
{
|
|
@ -1,10 +1,10 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
package dark.assembly.common.machine.crane;
|
||||
|
||||
import dark.assembly.api.ICraneConnectable;
|
||||
import dark.assembly.api.ICraneStructure;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import assemblyline.api.ICraneConnectable;
|
||||
import assemblyline.api.ICraneStructure;
|
||||
|
||||
/**
|
||||
* Manager of crane movement, mapping, setup, but not AI
|
|
@ -1,13 +1,14 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
package dark.assembly.common.machine.crane;
|
||||
|
||||
import java.awt.Color;
|
||||
|
||||
import dark.assembly.api.ICraneStructure;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.machine.TileEntityAssembly;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.vector.Vector3;
|
||||
import assemblyline.api.ICraneStructure;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.machine.TileEntityAssembly;
|
||||
|
||||
public class TileEntityCraneController extends TileEntityAssembly implements ICraneStructure
|
||||
{
|
|
@ -1,8 +1,8 @@
|
|||
package assemblyline.common.machine.crane;
|
||||
package dark.assembly.common.machine.crane;
|
||||
|
||||
import dark.assembly.api.ICraneStructure;
|
||||
import dark.assembly.common.machine.TileEntityAssembly;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import assemblyline.api.ICraneStructure;
|
||||
import assemblyline.common.machine.TileEntityAssembly;
|
||||
|
||||
public class TileEntityCraneRail extends TileEntityAssembly implements ICraneStructure
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.detector;
|
||||
package dark.assembly.common.machine.detector;
|
||||
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
|
@ -11,11 +11,11 @@ import net.minecraft.world.IBlockAccess;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.core.UniversalElectricity;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import assemblyline.common.imprinter.prefab.BlockImprintable;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.TabAssemblyLine;
|
||||
import dark.assembly.common.imprinter.prefab.BlockImprintable;
|
||||
|
||||
/** @author Briman0094 */
|
||||
public class BlockDetector extends BlockImprintable
|
|
@ -1,7 +1,10 @@
|
|||
package assemblyline.common.machine.detector;
|
||||
package dark.assembly.common.machine.detector;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.item.EntityItem;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -9,8 +12,6 @@ import net.minecraft.nbt.NBTTagCompound;
|
|||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.prefab.network.PacketManager;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.imprinter.prefab.TileEntityFilterable;
|
||||
|
||||
public class TileEntityDetector extends TileEntityFilterable
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
|
@ -7,11 +7,11 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.CommonProxy;
|
||||
import assemblyline.common.machine.BlockAssembly;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.CommonProxy;
|
||||
import dark.assembly.common.machine.BlockAssembly;
|
||||
|
||||
public class BlockEncoder extends BlockAssembly
|
||||
{
|
|
@ -1,11 +1,11 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.library.gui.SlotRestricted;
|
||||
|
||||
public class ContainerEncoder extends Container
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
public interface IInventoryWatcher
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -9,10 +9,10 @@ import net.minecraft.item.Item;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
import assemblyline.common.TabAssemblyLine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import dark.assembly.common.TabAssemblyLine;
|
||||
|
||||
public class ItemDisk extends Item
|
||||
{
|
|
@ -1,9 +1,9 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
import dark.assembly.common.AssemblyLine;
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import assemblyline.common.AssemblyLine;
|
||||
|
||||
public class SlotDisk extends Slot
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
|
@ -1,4 +1,4 @@
|
|||
package assemblyline.common.machine.encoder;
|
||||
package dark.assembly.common.machine.encoder;
|
||||
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
@ -11,12 +11,12 @@ import net.minecraft.network.packet.Packet250CustomPayload;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.prefab.network.IPacketReceiver;
|
||||
import universalelectricity.prefab.tile.TileEntityAdvanced;
|
||||
import assemblyline.common.armbot.command.Command;
|
||||
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import dark.assembly.common.armbot.command.Command;
|
||||
|
||||
public class TileEntityEncoder extends TileEntityAdvanced implements IPacketReceiver, ISidedInventory
|
||||
{
|
Loading…
Add table
Reference in a new issue