Moved Built Broken library into RI
This commit is contained in:
parent
363ce7ad11
commit
9b8cad0ab3
132 changed files with 252 additions and 328 deletions
15
README.md
15
README.md
|
@ -1,9 +1,10 @@
|
|||
Resonant Induction
|
||||
======
|
||||
Resonant Induction is a Minecraft mod focusing on the manipulation of electricity and wireless technology. Ever wanted blazing electrical shocks flying off your evil lairs? You've came to the right place!
|
||||
Resonant Induction is a Minecraft mod that brings in realistic, world-based technology advancement experience into Minecraft.
|
||||
|
||||
### Developer
|
||||
* Calclavia
|
||||
* DarkCow
|
||||
|
||||
### Former Developer
|
||||
* Aidancbrady
|
||||
|
@ -11,17 +12,5 @@ Resonant Induction is a Minecraft mod focusing on the manipulation of electricit
|
|||
### Artist
|
||||
* Archadia
|
||||
|
||||
### Compilation
|
||||
In order to compile the source code into binary form, you must have a working Minecraft Forge workspace.
|
||||
|
||||
1. Install Minecraft Forge source (http://files.minecraftforge.net).
|
||||
2. Clone the repository and copy all source code into the MCP "src" folder.
|
||||
3. Run the "recompile" script and run then run the "reobfuscate_srg" script in the MCP folder.
|
||||
4. Zip up everything in the output folder ("reobf") into a jar file.
|
||||
5. Install it into Minecraft just like any other Forge mod.
|
||||
|
||||
### Jenkins
|
||||
http://universalelectricity.com/resonant-induction
|
||||
|
||||
### License
|
||||
"Resonant Induction" is under the Calclavia Mod License: http://calclavia.com/license/cl
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package resonantinduction.api;
|
||||
|
||||
import resonantinduction.lib.recipes.ProcessorType;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import com.builtbroken.minecraft.recipes.ProcessorType;
|
||||
|
||||
/**
|
||||
* Simple interface that allows an item to control how its salvaged, processed, or refined by a
|
||||
* processor. This is 100% optional as the processor by default can break down most items. The only
|
||||
|
|
|
@ -2,12 +2,11 @@ package resonantinduction.api.fluid;
|
|||
|
||||
import java.util.Set;
|
||||
|
||||
import resonantinduction.lib.interfaces.IRotatable;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import net.minecraftforge.fluids.IFluidHandler;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IRotatable;
|
||||
|
||||
/**
|
||||
* Interface to make or use the TileEntityDrain. This is mostly a dummy interface to help the
|
||||
* construction pump use the TileEntity as the center of drain location
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
package resonantinduction.archaic;
|
||||
|
||||
public class ArcClientProxy extends ArcCommonProxy
|
||||
{
|
||||
|
||||
}
|
53
src/main/java/resonantinduction/archaic/Archaic.java
Normal file
53
src/main/java/resonantinduction/archaic/Archaic.java
Normal file
|
@ -0,0 +1,53 @@
|
|||
package resonantinduction.archaic;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.ResonantInduction;
|
||||
import resonantinduction.core.Settings;
|
||||
import calclavia.lib.utility.LanguageUtility;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.Mod.EventHandler;
|
||||
import cpw.mods.fml.common.Mod.Instance;
|
||||
import cpw.mods.fml.common.ModMetadata;
|
||||
import cpw.mods.fml.common.SidedProxy;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
|
||||
/**
|
||||
* Resonant Induction Archaic Module
|
||||
*
|
||||
* @author DarkCow, Calclavia
|
||||
*
|
||||
*/
|
||||
@Mod(modid = Archaic.ID, name = Reference.NAME + " Archaic", version = Reference.VERSION, dependencies = "required-after:" + ResonantInduction.ID)
|
||||
public class Archaic
|
||||
{
|
||||
/** Mod Information */
|
||||
public static final String ID = "ResonantInduction|Archaic";
|
||||
|
||||
@Instance(ID)
|
||||
public static ResonantInduction INSTANCE;
|
||||
|
||||
@SidedProxy(clientSide = "resonantinduction.archaic.ClientProxy", serverSide = "resonantinduction.archaic.CommonProxy")
|
||||
public static CommonProxy proxy;
|
||||
|
||||
@Mod.Metadata(ID)
|
||||
public static ModMetadata metadata;
|
||||
|
||||
public static final Logger LOGGER = Logger.getLogger(Reference.NAME);
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent evt)
|
||||
{
|
||||
NetworkRegistry.instance().registerGuiHandler(this, proxy);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent evt)
|
||||
{
|
||||
Settings.setModMetadata(metadata, ID);
|
||||
}
|
||||
}
|
|
@ -1,54 +0,0 @@
|
|||
package resonantinduction.archaic;
|
||||
|
||||
import java.util.Arrays;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.ResonantInduction;
|
||||
import calclavia.lib.utility.LanguageUtility;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.Mod.EventHandler;
|
||||
import cpw.mods.fml.common.Mod.Instance;
|
||||
import cpw.mods.fml.common.ModMetadata;
|
||||
import cpw.mods.fml.common.SidedProxy;
|
||||
import cpw.mods.fml.common.event.FMLInitializationEvent;
|
||||
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
|
||||
import cpw.mods.fml.common.network.NetworkRegistry;
|
||||
|
||||
@Mod(modid = ArchaicTier.ID, name = Reference.NAME + " Archaic Tier", version = Reference.VERSION, dependencies = "required-after:" + ResonantInduction.ID)
|
||||
public class ArchaicTier
|
||||
{
|
||||
/** Mod Information */
|
||||
public static final String ID = "ResonantInduction|Archaic";
|
||||
|
||||
@Instance(ID)
|
||||
public static ResonantInduction INSTANCE;
|
||||
|
||||
@SidedProxy(clientSide = "resonantinduction.archaic.ArcClientProxy", serverSide = "resonantinduction.archaic.ArcCommonProxy")
|
||||
public static ArcCommonProxy proxy;
|
||||
|
||||
@Mod.Metadata(ID)
|
||||
public static ModMetadata metadata;
|
||||
|
||||
public static final Logger LOGGER = Logger.getLogger(Reference.NAME);
|
||||
|
||||
@EventHandler
|
||||
public void preInit(FMLPreInitializationEvent evt)
|
||||
{
|
||||
NetworkRegistry.instance().registerGuiHandler(this, proxy);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
public void init(FMLInitializationEvent evt)
|
||||
{
|
||||
metadata.modId = ID;
|
||||
metadata.name = Reference.NAME + " Archaic Tier";
|
||||
metadata.description = LanguageUtility.getLocal("meta.resonantinduction.archaic.description");
|
||||
metadata.url = "http://calclavia.com/resonant-induction";
|
||||
metadata.logoFile = "ri_logo.png";
|
||||
metadata.version = Reference.VERSION + "." + Reference.BUILD_VERSION;
|
||||
metadata.authorList = Arrays.asList(new String[] { "Calclavia", "DarkCow" });
|
||||
metadata.credits = LanguageUtility.getLocal("meta.resonantinduction.credits");
|
||||
metadata.autogenerated = false;
|
||||
}
|
||||
}
|
6
src/main/java/resonantinduction/archaic/ClientProxy.java
Normal file
6
src/main/java/resonantinduction/archaic/ClientProxy.java
Normal file
|
@ -0,0 +1,6 @@
|
|||
package resonantinduction.archaic;
|
||||
|
||||
public class ClientProxy extends CommonProxy
|
||||
{
|
||||
|
||||
}
|
|
@ -4,31 +4,29 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.world.World;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
|
||||
public class ArcCommonProxy implements IGuiHandler
|
||||
public class CommonProxy implements IGuiHandler
|
||||
{
|
||||
public void preInit()
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
public void init()
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
public void postInit()
|
||||
{
|
||||
};
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getServerGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getClientGuiElement(int ID, EntityPlayer player, World world, int x, int y, int z)
|
||||
{
|
||||
// TODO Auto-generated method stub
|
||||
return null;
|
||||
}
|
||||
|
|
@ -10,9 +10,7 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import resonantinduction.Reference;
|
||||
|
||||
import com.builtbroken.minecraft.helpers.ColorCode;
|
||||
|
||||
import resonantinduction.lib.helpers.ColorCode;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -17,11 +17,11 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.core.recipe.RecipeLoader;
|
||||
import resonantinduction.lib.EnumMaterial;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraBlockInfo;
|
||||
import calclavia.lib.ore.OreGenReplaceStone;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.EnumMaterial;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraBlockInfo;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package resonantinduction.blocks;
|
||||
|
||||
import resonantinduction.lib.helpers.ColorCode;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
import com.builtbroken.minecraft.helpers.ColorCode;
|
||||
|
||||
public class ItemBlockColored extends ItemBlock
|
||||
{
|
||||
public ItemBlockColored(int par1)
|
||||
|
|
|
@ -11,12 +11,10 @@ import org.lwjgl.opengl.GL11;
|
|||
import resonantinduction.Reference;
|
||||
import resonantinduction.api.coding.ITask;
|
||||
import resonantinduction.api.coding.args.ArgumentData;
|
||||
import resonantinduction.lib.prefab.invgui.GuiBase;
|
||||
import resonantinduction.lib.prefab.invgui.GuiMessageBox;
|
||||
import resonantinduction.lib.prefab.invgui.IMessageBoxDialog;
|
||||
import universalelectricity.api.vector.Vector2;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.invgui.GuiBase;
|
||||
import com.builtbroken.minecraft.prefab.invgui.GuiMessageBox;
|
||||
import com.builtbroken.minecraft.prefab.invgui.IMessageBoxDialog;
|
||||
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
|
||||
|
|
|
@ -2,12 +2,11 @@ package resonantinduction.client.gui;
|
|||
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
import resonantinduction.lib.prefab.TileEntityMachine;
|
||||
import resonantinduction.lib.prefab.invgui.ContainerFake;
|
||||
import resonantinduction.lib.prefab.invgui.GuiMachineContainer;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityMachine;
|
||||
import com.builtbroken.minecraft.prefab.invgui.ContainerFake;
|
||||
import com.builtbroken.minecraft.prefab.invgui.GuiMachineContainer;
|
||||
|
||||
public class GuiEncoderBase extends GuiMachineContainer
|
||||
{
|
||||
//
|
||||
|
|
|
@ -6,11 +6,10 @@ import net.minecraft.entity.player.InventoryPlayer;
|
|||
import org.lwjgl.input.Keyboard;
|
||||
import org.lwjgl.input.Mouse;
|
||||
|
||||
import resonantinduction.lib.prefab.invgui.GuiButtonImage;
|
||||
import resonantinduction.lib.prefab.invgui.GuiButtonImage.ButtonIcon;
|
||||
import resonantinduction.transport.encoder.TileEntityEncoder;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.invgui.GuiButtonImage;
|
||||
import com.builtbroken.minecraft.prefab.invgui.GuiButtonImage.ButtonIcon;
|
||||
|
||||
public class GuiEncoderCoder extends GuiEncoderBase
|
||||
{
|
||||
private GuiTaskList taskListGui;
|
||||
|
|
|
@ -9,13 +9,11 @@ import org.lwjgl.opengl.GL11;
|
|||
import resonantinduction.api.coding.IProgram;
|
||||
import resonantinduction.api.coding.IRedirectTask;
|
||||
import resonantinduction.api.coding.ITask;
|
||||
import resonantinduction.lib.interfaces.IScroll;
|
||||
import resonantinduction.mechanics.armbot.command.TaskEnd;
|
||||
import resonantinduction.mechanics.armbot.command.TaskIdle;
|
||||
import resonantinduction.mechanics.armbot.command.TaskStart;
|
||||
import resonantinduction.transport.encoder.TileEntityEncoder;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IScroll;
|
||||
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
|
||||
|
|
|
@ -11,9 +11,7 @@ import resonantinduction.Reference;
|
|||
import resonantinduction.client.model.ModelMachine;
|
||||
import resonantinduction.client.model.ModelSteamGen;
|
||||
import resonantinduction.client.model.ModelSteamTurbine;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityMachine;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityMachine;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -9,10 +9,8 @@ import net.minecraftforge.fluids.FluidStack;
|
|||
import org.lwjgl.opengl.GL11;
|
||||
|
||||
import resonantinduction.client.model.ModelTankSide;
|
||||
import resonantinduction.lib.helpers.ColorCode;
|
||||
import resonantinduction.transport.fluid.TileEntityTank;
|
||||
|
||||
import com.builtbroken.minecraft.helpers.ColorCode;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -13,10 +13,10 @@ import net.minecraft.util.Icon;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.Configuration;
|
||||
import resonantinduction.core.ResonantInductionTabs;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
@ -28,7 +28,7 @@ public class BlockDebug extends BlockMachine
|
|||
public BlockDebug()
|
||||
{
|
||||
super(ResonantInductionTransport.CONFIGURATION, "DebugBlock", Material.clay);
|
||||
this.setCreativeTab(ResonantInductionTabs.tabIndustrial());
|
||||
this.setCreativeTab(ResonantInductionTabs.CORE);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
package resonantinduction.core.debug;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
public class TileEntityInfLoad extends TileEntityEnergyMachine
|
||||
{
|
||||
|
||||
|
|
|
@ -2,10 +2,9 @@ package resonantinduction.core.debug;
|
|||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
public class TileEntityInfSupply extends TileEntityEnergyMachine
|
||||
{
|
||||
@Override
|
||||
|
|
|
@ -7,9 +7,7 @@ import net.minecraft.block.material.Material;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import resonantinduction.core.recipe.RecipeLoader;
|
||||
|
||||
import com.builtbroken.minecraft.EnumMaterial;
|
||||
|
||||
import resonantinduction.lib.EnumMaterial;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -9,9 +9,7 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.util.Icon;
|
||||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.Settings;
|
||||
|
||||
import com.builtbroken.minecraft.helpers.ColorCode;
|
||||
|
||||
import resonantinduction.lib.helpers.ColorCode;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -32,9 +32,9 @@ import net.minecraftforge.event.entity.player.UseHoeEvent;
|
|||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.EnumMaterial;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraItemInfo;
|
||||
|
||||
import com.builtbroken.minecraft.EnumMaterial;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraItemInfo;
|
||||
import com.google.common.collect.Multimap;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
|
|
|
@ -16,6 +16,9 @@ import net.minecraftforge.fluids.FluidTankInfo;
|
|||
import net.minecraftforge.fluids.IFluidHandler;
|
||||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.interfaces.IReadOut;
|
||||
import resonantinduction.lib.interfaces.IReadOut.EnumTools;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import resonantinduction.mechanics.generator.TileGenerator;
|
||||
import universalelectricity.api.electricity.IVoltageInput;
|
||||
import universalelectricity.api.electricity.IVoltageOutput;
|
||||
|
@ -28,11 +31,6 @@ import buildcraft.api.power.IPowerReceptor;
|
|||
import calclavia.lib.prefab.item.ItemBase;
|
||||
import calclavia.lib.utility.FluidHelper;
|
||||
import cofh.api.energy.IEnergyStorage;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IReadOut;
|
||||
import com.builtbroken.minecraft.interfaces.IReadOut.EnumTools;
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -13,17 +13,15 @@ import net.minecraftforge.oredict.ShapelessOreRecipe;
|
|||
import resonantinduction.core.misc.EnumTool;
|
||||
import resonantinduction.core.resource.ItemOreDirv;
|
||||
import resonantinduction.core.resource.ItemParts.Parts;
|
||||
import resonantinduction.lib.EnumMaterial;
|
||||
import resonantinduction.lib.EnumOrePart;
|
||||
import resonantinduction.lib.helpers.ColorCode;
|
||||
import resonantinduction.lib.interfaces.IReadOut.EnumTools;
|
||||
import resonantinduction.lib.recipes.MachineRecipeHandler;
|
||||
import resonantinduction.lib.recipes.ProcessorType;
|
||||
import resonantinduction.mechanics.processor.BlockProcessor;
|
||||
import resonantinduction.transport.crate.BlockCrate;
|
||||
import resonantinduction.transport.fluid.pipes.FluidPartsMaterial;
|
||||
|
||||
import com.builtbroken.minecraft.EnumMaterial;
|
||||
import com.builtbroken.minecraft.EnumOrePart;
|
||||
import com.builtbroken.minecraft.helpers.ColorCode;
|
||||
import com.builtbroken.minecraft.interfaces.IReadOut.EnumTools;
|
||||
import com.builtbroken.minecraft.recipes.MachineRecipeHandler;
|
||||
import com.builtbroken.minecraft.recipes.ProcessorType;
|
||||
|
||||
import cpw.mods.fml.common.registry.GameRegistry;
|
||||
|
||||
public class RecipeLoader
|
||||
|
|
|
@ -15,11 +15,9 @@ import resonantinduction.Reference;
|
|||
import resonantinduction.api.events.LaserEvent;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.core.base.ItemBase;
|
||||
|
||||
import com.builtbroken.minecraft.EnumMaterial;
|
||||
import com.builtbroken.minecraft.EnumOrePart;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraItemInfo;
|
||||
|
||||
import resonantinduction.lib.EnumMaterial;
|
||||
import resonantinduction.lib.EnumOrePart;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraItemInfo;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -11,9 +11,7 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.core.base.ItemBase;
|
||||
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraItemInfo;
|
||||
|
||||
import resonantinduction.lib.IExtraInfo.IExtraItemInfo;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
|
@ -1,15 +1,15 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import resonantinduction.lib.IExtraInfo.IExtraBlockInfo;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.client.renderer.tileentity.TileEntitySpecialRenderer;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraBlockInfo;
|
||||
|
||||
import cpw.mods.fml.client.registry.ClientRegistry;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.HashMap;
|
||||
|
@ -6,6 +6,8 @@ import java.util.HashSet;
|
|||
import java.util.Map.Entry;
|
||||
import java.util.Set;
|
||||
|
||||
import resonantinduction.lib.IExtraInfo.IExtraBlockInfo;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraItemInfo;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemBlock;
|
||||
|
@ -15,8 +17,6 @@ import net.minecraftforge.fluids.Fluid;
|
|||
import net.minecraftforge.fluids.FluidRegistry;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraBlockInfo;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraItemInfo;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.Loader;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
public enum EnumOrePart
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.monster.EntityCreeper;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.EntityLiving;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft;
|
||||
package resonantinduction.lib;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.item.ItemBlock;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.helpers;
|
||||
package resonantinduction.lib.helpers;
|
||||
|
||||
import java.awt.Color;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraft.inventory.ISidedInventory;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
/**
|
||||
* Applied to devices that have the option to run without power. Normally this option is only shown
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
public interface IScroll
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import java.util.List;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.interfaces;
|
||||
package resonantinduction.lib.interfaces;
|
||||
|
||||
import java.util.Set;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab;
|
||||
package resonantinduction.lib.prefab;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Set;
|
||||
|
@ -18,6 +18,7 @@ import net.minecraftforge.common.Configuration;
|
|||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import resonantinduction.Reference;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraBlockInfo;
|
||||
import resonatninduction.tilenetwork.INetworkPart;
|
||||
import calclavia.lib.access.AccessUser;
|
||||
import calclavia.lib.access.ISpecialAccess;
|
||||
|
@ -25,7 +26,6 @@ import calclavia.lib.multiblock.link.IBlockActivate;
|
|||
import calclavia.lib.prefab.block.BlockTile;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraBlockInfo;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
|
@ -1,7 +1,8 @@
|
|||
package com.builtbroken.minecraft.prefab;
|
||||
package resonantinduction.lib.prefab;
|
||||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import resonantinduction.lib.interfaces.IPowerLess;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTBase;
|
||||
|
@ -19,8 +20,6 @@ import universalelectricity.api.energy.IEnergyInterface;
|
|||
import universalelectricity.api.vector.Vector3;
|
||||
import universalelectricity.api.vector.VectorHelper;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IPowerLess;
|
||||
|
||||
/**
|
||||
* Basic energy tile that can consume power
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab;
|
||||
package resonantinduction.lib.prefab;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
@ -10,6 +10,9 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.nbt.NBTTagList;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.lib.interfaces.IExternalInv;
|
||||
import resonantinduction.lib.interfaces.IInvBox;
|
||||
import resonantinduction.lib.prefab.invgui.InvChest;
|
||||
import resonatninduction.tilenetwork.prefab.NetworkTileEntities;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.access.AccessGroup;
|
||||
|
@ -19,10 +22,6 @@ import calclavia.lib.access.ISpecialAccess;
|
|||
import calclavia.lib.access.Nodes;
|
||||
import calclavia.lib.prefab.tile.TileAdvanced;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IExternalInv;
|
||||
import com.builtbroken.minecraft.interfaces.IInvBox;
|
||||
import com.builtbroken.minecraft.prefab.invgui.InvChest;
|
||||
|
||||
/**
|
||||
* Prefab for simple object who only need basic inv support and nothing more
|
||||
*
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab;
|
||||
package resonantinduction.lib.prefab;
|
||||
|
||||
import java.io.IOException;
|
||||
|
||||
|
@ -10,12 +10,12 @@ import net.minecraft.util.AxisAlignedBB;
|
|||
import net.minecraftforge.common.Configuration;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.core.network.ISimplePacketReceiver;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraTileEntityInfo;
|
||||
import resonantinduction.lib.interfaces.IExternalInv;
|
||||
import resonantinduction.lib.interfaces.IInvBox;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraTileEntityInfo;
|
||||
import com.builtbroken.minecraft.interfaces.IExternalInv;
|
||||
import com.builtbroken.minecraft.interfaces.IInvBox;
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.network.PacketDispatcher;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.Container;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.client.gui.GuiScreen;
|
||||
import net.minecraft.client.renderer.OpenGlHelper;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiButton;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.inventory.GuiContainer;
|
||||
|
@ -13,10 +13,8 @@ import org.lwjgl.opengl.GL11;
|
|||
import org.lwjgl.opengl.GL12;
|
||||
|
||||
import resonantinduction.Reference;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityMachine;
|
||||
import com.builtbroken.minecraft.prefab.invgui.GuiButtonImage.ButtonIcon;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityMachine;
|
||||
import resonantinduction.lib.prefab.invgui.GuiButtonImage.ButtonIcon;
|
||||
import cpw.mods.fml.client.FMLClientHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.util.ResourceLocation;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
public interface IMessageBoxDialog
|
||||
{
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
/** Add this to a container class if using WatchedSlot to trigger the container on slot change */
|
||||
public interface ISlotWatcher
|
|
@ -1,5 +1,7 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import resonantinduction.lib.interfaces.IExternalInv;
|
||||
import resonantinduction.lib.interfaces.IInvBox;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
@ -8,9 +10,6 @@ import net.minecraft.nbt.NBTTagList;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IExternalInv;
|
||||
import com.builtbroken.minecraft.interfaces.IInvBox;
|
||||
|
||||
public class InvChest implements IInvBox
|
||||
{
|
||||
/** Access able slots side all */
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.inventory.IInventory;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.prefab.invgui;
|
||||
package resonantinduction.lib.prefab.invgui;
|
||||
|
||||
import net.minecraft.inventory.IInventory;
|
||||
import net.minecraft.inventory.Slot;
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.recipes;
|
||||
package resonantinduction.lib.recipes;
|
||||
|
||||
import java.util.Random;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.recipes;
|
||||
package resonantinduction.lib.recipes;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package com.builtbroken.minecraft.recipes;
|
||||
package resonantinduction.lib.recipes;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.HashMap;
|
|
@ -1,14 +1,13 @@
|
|||
package com.builtbroken.minecraft.terminal;
|
||||
package resonantinduction.lib.terminal;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import resonantinduction.lib.interfaces.ITerminal;
|
||||
import resonantinduction.lib.interfaces.ITerminalCommand;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import calclavia.lib.access.GroupRegistry;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.ITerminal;
|
||||
import com.builtbroken.minecraft.interfaces.ITerminalCommand;
|
||||
|
||||
public class CommandRegistry
|
||||
{
|
||||
public static final List<ITerminalCommand> COMMANDS = new ArrayList<ITerminalCommand>();
|
|
@ -1,14 +1,13 @@
|
|||
package com.builtbroken.minecraft.terminal;
|
||||
package resonantinduction.lib.terminal;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import resonantinduction.lib.interfaces.ITerminal;
|
||||
import resonantinduction.lib.interfaces.ITerminalCommand;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import calclavia.lib.access.ISpecialAccess;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.ITerminal;
|
||||
import com.builtbroken.minecraft.interfaces.ITerminalCommand;
|
||||
|
||||
public class CommandUser implements ITerminalCommand
|
||||
{
|
||||
@Override
|
|
@ -1,17 +1,17 @@
|
|||
package com.builtbroken.minecraft.terminal;
|
||||
package resonantinduction.lib.terminal;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import resonantinduction.lib.interfaces.IScroll;
|
||||
import resonantinduction.lib.interfaces.ITerminal;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.packet.Packet;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IScroll;
|
||||
import com.builtbroken.minecraft.interfaces.ITerminal;
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.network.PacketDispatcher;
|
|
@ -13,11 +13,11 @@ import net.minecraft.world.World;
|
|||
import resonantinduction.client.render.BlockRenderingHandler;
|
||||
import resonantinduction.client.render.RenderArmbot;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
import calclavia.lib.multiblock.link.IMultiBlock;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
package resonantinduction.mechanics.generator;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.api.CompatibilityModule;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import universalelectricity.api.vector.VectorHelper;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
public abstract class TileGenerator extends TileEntityEnergyMachine
|
||||
{
|
||||
public TileGenerator()
|
||||
|
|
|
@ -12,11 +12,11 @@ import net.minecraftforge.oredict.OreDictionary;
|
|||
import resonantinduction.client.render.BlockRenderingHandler;
|
||||
import resonantinduction.client.render.RenderBlockSolarPanel;
|
||||
import resonantinduction.core.ResonantInductionTabs;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -16,11 +16,11 @@ import net.minecraftforge.common.Configuration;
|
|||
import resonantinduction.client.render.BlockRenderingHandler;
|
||||
import resonantinduction.client.render.RenderSteamGen;
|
||||
import resonantinduction.core.ResonantInductionTabs;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package resonantinduction.mechanics.generator.steam;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityMachine;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import net.minecraftforge.fluids.Fluid;
|
||||
|
@ -10,8 +11,6 @@ import net.minecraftforge.fluids.FluidTank;
|
|||
import net.minecraftforge.fluids.FluidTankInfo;
|
||||
import net.minecraftforge.fluids.IFluidHandler;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityMachine;
|
||||
|
||||
/**
|
||||
* Simple steam gen designed to burn items to create steam to power a steam device directly above
|
||||
* it. Doesn't actually make steam fluid but rather simple functions. The machines above it will
|
||||
|
|
|
@ -2,11 +2,10 @@ package resonantinduction.mechanics.generator.steam;
|
|||
|
||||
import java.util.EnumSet;
|
||||
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
public class TileEntitySteamPiston extends TileEntityEnergyMachine
|
||||
{
|
||||
protected float wattPerSteam = 32.0f;
|
||||
|
|
|
@ -5,10 +5,10 @@ import java.util.Set;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
/** @author Archadia */
|
||||
public class BlockApertureExcavator extends BlockMachine
|
||||
|
|
|
@ -6,10 +6,10 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
/** @author Archadia */
|
||||
public class BlockFracker extends BlockMachine
|
||||
|
|
|
@ -8,9 +8,9 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.world.World;
|
||||
import resonantinduction.client.render.BlockRenderHelper;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
/** @author Archadia */
|
||||
public class BlockFrackingPipe extends BlockMachine
|
||||
|
|
|
@ -7,9 +7,9 @@ import net.minecraft.entity.player.EntityPlayer;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
/** @author Archadia */
|
||||
public class BlockLaserDrill extends BlockMachine
|
||||
|
|
|
@ -8,9 +8,9 @@ import net.minecraft.tileentity.TileEntity;
|
|||
import net.minecraft.world.World;
|
||||
import resonantinduction.client.render.BlockRenderHelper;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
/**
|
||||
* Mining laser Prototype mainly used for crafting but can be used in the same way as Excavator.
|
||||
|
|
|
@ -24,14 +24,14 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import net.minecraftforge.common.MinecraftForge;
|
||||
import net.minecraftforge.oredict.OreDictionary;
|
||||
import resonantinduction.api.events.LaserEvent;
|
||||
import resonantinduction.lib.CoreRegistry;
|
||||
import resonantinduction.lib.IExtraInfo.IExtraItemInfo;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
import universalelectricity.api.item.ItemElectric;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.utility.RayTraceHelper;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.CoreRegistry;
|
||||
import com.builtbroken.minecraft.IExtraInfo.IExtraItemInfo;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -7,11 +7,10 @@ import net.minecraft.block.Block;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.api.MachineMiningEvent;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.utility.InvInteractionHelper;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
/** @author Archadia */
|
||||
public class TileApertureExcavator extends TileEntityEnergyMachine
|
||||
{
|
||||
|
|
|
@ -9,14 +9,13 @@ import net.minecraftforge.fluids.FluidTankInfo;
|
|||
import net.minecraftforge.fluids.IFluidBlock;
|
||||
import net.minecraftforge.fluids.IFluidHandler;
|
||||
import resonantinduction.core.recipe.RecipeLoader;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import resonantinduction.transport.fluid.EnumGas;
|
||||
import resonantinduction.transport.fluid.GasTank;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.multiblock.link.IBlockActivate;
|
||||
import calclavia.lib.utility.FluidHelper;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
/** @author Archadia */
|
||||
public class TileFracker extends TileEntityEnergyMachine implements IFluidHandler, IBlockActivate
|
||||
{
|
||||
|
|
|
@ -9,12 +9,12 @@ import net.minecraft.util.MovingObjectPosition;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import resonantinduction.api.events.LaserEvent;
|
||||
import resonantinduction.lib.CoreRegistry;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
import calclavia.lib.utility.RayTraceHelper;
|
||||
|
||||
import com.builtbroken.minecraft.CoreRegistry;
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.network.Player;
|
||||
|
|
|
@ -9,12 +9,12 @@ import net.minecraft.util.MovingObjectPosition;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
import resonantinduction.api.events.LaserEvent;
|
||||
import resonantinduction.lib.CoreRegistry;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
import calclavia.lib.utility.RayTraceHelper;
|
||||
|
||||
import com.builtbroken.minecraft.CoreRegistry;
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.network.Player;
|
||||
|
|
|
@ -17,12 +17,12 @@ import resonantinduction.client.render.BlockRenderingHandler;
|
|||
import resonantinduction.client.render.RenderProcessor;
|
||||
import resonantinduction.core.ResonantInductionTabs;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import resonantinduction.lib.recipes.ProcessorType;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
import com.builtbroken.minecraft.recipes.ProcessorType;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package resonantinduction.mechanics.processor;
|
||||
|
||||
import resonantinduction.lib.recipes.MachineRecipeHandler;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.entity.player.InventoryPlayer;
|
||||
import net.minecraft.inventory.Container;
|
||||
|
@ -9,8 +10,6 @@ import net.minecraft.inventory.SlotFurnace;
|
|||
import net.minecraft.item.ItemStack;
|
||||
import universalelectricity.api.item.IEnergyItem;
|
||||
|
||||
import com.builtbroken.minecraft.recipes.MachineRecipeHandler;
|
||||
|
||||
public class ContainerProcessor extends Container
|
||||
{
|
||||
private TileEntityProcessor tileEntity;
|
||||
|
|
|
@ -4,15 +4,15 @@ import net.minecraft.item.ItemStack;
|
|||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.network.packet.Packet;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.lib.interfaces.IInvBox;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import resonantinduction.lib.prefab.invgui.InvChest;
|
||||
import resonantinduction.lib.recipes.MachineRecipeHandler;
|
||||
import resonantinduction.lib.recipes.ProcessorType;
|
||||
import resonantinduction.mechanics.processor.BlockProcessor.ProcessorData;
|
||||
import universalelectricity.api.item.IEnergyItem;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IInvBox;
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
import com.builtbroken.minecraft.prefab.invgui.InvChest;
|
||||
import com.builtbroken.minecraft.recipes.MachineRecipeHandler;
|
||||
import com.builtbroken.minecraft.recipes.ProcessorType;
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.network.Player;
|
||||
|
|
|
@ -2,6 +2,8 @@ package resonantinduction.transport;
|
|||
|
||||
import java.util.Random;
|
||||
|
||||
import resonantinduction.lib.interfaces.IRotatable;
|
||||
import resonantinduction.lib.interfaces.IRotatableBlock;
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.block.material.Material;
|
||||
import net.minecraft.client.renderer.texture.IconRegister;
|
||||
|
@ -14,10 +16,6 @@ import net.minecraft.util.MathHelper;
|
|||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IRotatable;
|
||||
import com.builtbroken.minecraft.interfaces.IRotatableBlock;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ import java.util.zip.ZipInputStream;
|
|||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.world.World;
|
||||
import resonantinduction.lib.prefab.invgui.ContainerFake;
|
||||
import resonantinduction.mechanics.generator.steam.TileEntitySteamGen;
|
||||
import resonantinduction.mechanics.processor.ContainerProcessor;
|
||||
import resonantinduction.mechanics.processor.TileEntityProcessor;
|
||||
|
@ -16,9 +17,6 @@ import resonantinduction.transport.encoder.ContainerEncoder;
|
|||
import resonantinduction.transport.encoder.TileEntityEncoder;
|
||||
import resonantinduction.transport.imprinter.ContainerImprinter;
|
||||
import resonantinduction.transport.imprinter.TileEntityImprinter;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.invgui.ContainerFake;
|
||||
|
||||
import cpw.mods.fml.common.FMLCommonHandler;
|
||||
import cpw.mods.fml.common.network.IGuiHandler;
|
||||
|
||||
|
|
|
@ -40,6 +40,10 @@ import resonantinduction.core.resource.ItemBlockOre;
|
|||
import resonantinduction.core.resource.ItemOreDirv;
|
||||
import resonantinduction.core.resource.ItemParts;
|
||||
import resonantinduction.core.resource.ItemParts.Parts;
|
||||
import resonantinduction.lib.CoreRegistry;
|
||||
import resonantinduction.lib.EnumMaterial;
|
||||
import resonantinduction.lib.EnumOrePart;
|
||||
import resonantinduction.lib.LaserEntityDamageSource;
|
||||
import resonantinduction.mechanics.armbot.BlockArmbot;
|
||||
import resonantinduction.mechanics.armbot.command.TaskBreak;
|
||||
import resonantinduction.mechanics.armbot.command.TaskDrop;
|
||||
|
@ -97,12 +101,6 @@ import calclavia.lib.prefab.item.ItemBlockHolder;
|
|||
import calclavia.lib.utility.FluidHelper;
|
||||
import calclavia.lib.utility.PlayerKeyHandler;
|
||||
import calclavia.lib.utility.SaveManager;
|
||||
|
||||
import com.builtbroken.minecraft.CoreRegistry;
|
||||
import com.builtbroken.minecraft.EnumMaterial;
|
||||
import com.builtbroken.minecraft.EnumOrePart;
|
||||
import com.builtbroken.minecraft.LaserEntityDamageSource;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
import cpw.mods.fml.common.Mod;
|
||||
import cpw.mods.fml.common.Mod.EventHandler;
|
||||
|
|
|
@ -7,13 +7,12 @@ import java.util.Random;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.AxisAlignedBB;
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.lib.prefab.TileEntityEnergyMachine;
|
||||
import resonatninduction.tilenetwork.INetworkEnergyPart;
|
||||
import resonatninduction.tilenetwork.ITileNetwork;
|
||||
import resonatninduction.tilenetwork.prefab.NetworkSharedPower;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityEnergyMachine;
|
||||
|
||||
/**
|
||||
* A class to be inherited by all machines on the assembly line. This class acts as a single peace
|
||||
* in a network of similar tiles allowing all to share power from one or more sources
|
||||
|
|
|
@ -19,11 +19,11 @@ import net.minecraftforge.common.ForgeDirection;
|
|||
import resonantinduction.client.render.BlockRenderingHandler;
|
||||
import resonantinduction.client.render.RenderConveyorBelt;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import resonantinduction.transport.belt.TileEntityConveyorBelt.SlantType;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -12,11 +12,11 @@ import net.minecraft.util.AxisAlignedBB;
|
|||
import net.minecraftforge.common.ForgeDirection;
|
||||
import resonantinduction.api.IBelt;
|
||||
import resonantinduction.core.recipe.RecipeLoader;
|
||||
import resonantinduction.lib.interfaces.IRotatable;
|
||||
import resonantinduction.transport.TileEntityAssembly;
|
||||
import universalelectricity.api.vector.Vector3;
|
||||
import calclavia.lib.network.PacketHandler;
|
||||
|
||||
import com.builtbroken.minecraft.interfaces.IRotatable;
|
||||
import com.google.common.io.ByteArrayDataInput;
|
||||
|
||||
import cpw.mods.fml.common.network.Player;
|
||||
|
|
|
@ -6,10 +6,8 @@ import net.minecraft.client.renderer.texture.IconRegister;
|
|||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.World;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import resonantinduction.transport.ResonantInductionTransport;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package resonantinduction.transport.crafting;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.TileEntityInv;
|
||||
import resonantinduction.lib.prefab.TileEntityInv;
|
||||
|
||||
public class TileEntityCraftingTable extends TileEntityInv
|
||||
{
|
||||
|
|
|
@ -18,10 +18,10 @@ import net.minecraft.world.World;
|
|||
import resonantinduction.Reference;
|
||||
import resonantinduction.client.render.RenderCrate;
|
||||
import resonantinduction.core.Settings;
|
||||
import resonantinduction.lib.prefab.BlockMachine;
|
||||
import universalelectricity.api.UniversalElectricity;
|
||||
|
||||
import com.builtbroken.common.Pair;
|
||||
import com.builtbroken.minecraft.prefab.BlockMachine;
|
||||
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
package resonantinduction.transport.crate;
|
||||
|
||||
import resonantinduction.lib.prefab.invgui.InvChest;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
import com.builtbroken.minecraft.prefab.invgui.InvChest;
|
||||
|
||||
public class InventoryCrate extends InvChest
|
||||
{
|
||||
public InventoryCrate(TileEntity crate)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue