Relocate Source to proper directory.
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.block.Block;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import appeng.api.parts.IFacadePart;
|
||||
|
||||
public interface IBC
|
||||
{
|
||||
|
||||
boolean isWrench(Item eq);
|
||||
|
||||
boolean canWrench(Item i, EntityPlayer p, int x, int y, int z);
|
||||
|
||||
void wrenchUsed(Item i, EntityPlayer p, int x, int y, int z);
|
||||
|
||||
boolean canAddItemsToPipe(TileEntity te, ItemStack is, ForgeDirection dir);
|
||||
|
||||
boolean addItemsToPipe(TileEntity te, ItemStack is, ForgeDirection dir);
|
||||
|
||||
boolean isFacade(ItemStack is);
|
||||
|
||||
boolean isPipe(TileEntity te, ForgeDirection dir);
|
||||
|
||||
void addFacade(ItemStack item);
|
||||
|
||||
void registerPowerP2P();
|
||||
|
||||
void registerItemP2P();
|
||||
|
||||
void registerLiquidsP2P();
|
||||
|
||||
IFacadePart createFacadePart(Block blk, int meta, ForgeDirection side);
|
||||
|
||||
IFacadePart createFacadePart(ItemStack held, ForgeDirection side);
|
||||
|
||||
ItemStack getTextureForFacade(ItemStack facade);
|
||||
|
||||
IIcon getFacadeTexture();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import appeng.util.InventoryAdaptor;
|
||||
|
||||
public interface IBetterStorage
|
||||
{
|
||||
|
||||
boolean isStorageCrate(Object te);
|
||||
|
||||
InventoryAdaptor getAdaptor(Object te, ForgeDirection d);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import appeng.api.util.AEColor;
|
||||
|
||||
public interface ICLApi
|
||||
{
|
||||
|
||||
int colorLight(AEColor color, int light);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
|
||||
public interface IDSU
|
||||
{
|
||||
|
||||
IMEInventory getDSU(TileEntity te);
|
||||
|
||||
boolean isDSU(TileEntity te);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayerMP;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.parts.IPartHost;
|
||||
import appeng.parts.CableBusContainer;
|
||||
import cpw.mods.fml.common.eventhandler.Event;
|
||||
|
||||
public interface IFMP
|
||||
{
|
||||
|
||||
IPartHost getOrCreateHost(TileEntity tile);
|
||||
|
||||
CableBusContainer getCableContainer(TileEntity te);
|
||||
|
||||
void registerPassThrough(Class<?> layerInterface);
|
||||
|
||||
Event newFMPPacketEvent(EntityPlayerMP sender);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
|
||||
public interface IFZ
|
||||
{
|
||||
|
||||
ItemStack barrelGetItem(TileEntity te);
|
||||
|
||||
int barrelGetMaxItemCount(TileEntity te);
|
||||
|
||||
int barrelGetItemCount(TileEntity te);
|
||||
|
||||
void setItemType(TileEntity te, ItemStack input);
|
||||
|
||||
void barrelSetCount(TileEntity te, int max);
|
||||
|
||||
IMEInventory getFactorizationBarrel(TileEntity te);
|
||||
|
||||
boolean isBarrel(TileEntity te);
|
||||
|
||||
void grinderRecipe(ItemStack is, ItemStack itemStack);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import appeng.api.features.IItemComparisonProvider;
|
||||
|
||||
public interface IForestry
|
||||
{
|
||||
|
||||
IItemComparisonProvider getGeneticsComparisonProvider();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
|
||||
public interface IGT
|
||||
{
|
||||
|
||||
boolean isQuantumChest(TileEntity te);
|
||||
|
||||
IMEInventory getQuantumChest(TileEntity te);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public interface IIC2
|
||||
{
|
||||
|
||||
void addToEnergyNet(TileEntity appEngTile);
|
||||
|
||||
void removeFromEnergyNet(TileEntity appEngTile);
|
||||
|
||||
ItemStack getItem(String string);
|
||||
|
||||
void maceratorRecipe(ItemStack in, ItemStack out);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.parts.IPartHost;
|
||||
|
||||
public interface IImmibisMicroblocks
|
||||
{
|
||||
|
||||
IPartHost getOrCreateHost(EntityPlayer player, int side, TileEntity te);
|
||||
|
||||
/**
|
||||
* @param te
|
||||
* @return true if this worked..
|
||||
*/
|
||||
boolean leaveParts(TileEntity te);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IInvTweaks
|
||||
{
|
||||
|
||||
int compareItems(ItemStack i, ItemStack j);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
|
||||
public interface ILP
|
||||
{
|
||||
|
||||
List<ItemStack> getCraftedItems(TileEntity te);
|
||||
|
||||
List<ItemStack> getProvidedItems(TileEntity te);
|
||||
|
||||
boolean isRequestPipe(TileEntity te);
|
||||
|
||||
List<ItemStack> performRequest(TileEntity te, ItemStack wanted);
|
||||
|
||||
IMEInventory getInv(TileEntity te);
|
||||
|
||||
Object getGetPowerPipe(TileEntity te);
|
||||
|
||||
boolean isPowerSource(TileEntity tt);
|
||||
|
||||
boolean canUseEnergy(Object pp, int ceil, List<Object> providersToIgnore);
|
||||
|
||||
boolean useEnergy(Object pp, int ceil, List<Object> providersToIgnore);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
|
||||
public interface IMJ5
|
||||
{
|
||||
|
||||
Object createPerdition(Object buildCraft);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import buildcraft.api.mj.IBatteryObject;
|
||||
|
||||
public interface IMJ6
|
||||
{
|
||||
|
||||
IBatteryObject provider(TileEntity te, ForgeDirection side);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IMekanism
|
||||
{
|
||||
|
||||
void addCrusherRecipe(ItemStack in, ItemStack out);
|
||||
|
||||
void addEnrichmentChamberRecipe(ItemStack in, ItemStack out);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.client.renderer.entity.RenderItem;
|
||||
import net.minecraft.inventory.Slot;
|
||||
|
||||
public interface INEI
|
||||
{
|
||||
|
||||
void drawSlot(Slot s);
|
||||
|
||||
RenderItem setItemRender(RenderItem aeri2);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.util.IOrientable;
|
||||
|
||||
public interface IRB
|
||||
{
|
||||
|
||||
IOrientable getOrientable(TileEntity te);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IRC
|
||||
{
|
||||
|
||||
void rockCrusher(ItemStack input, ItemStack output);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public interface ITE
|
||||
{
|
||||
|
||||
void addPulverizerRecipe(int i, ItemStack blkQuartz, ItemStack blockDust);
|
||||
|
||||
void addPulverizerRecipe(int i, ItemStack blkQuartzOre, ItemStack matQuartz, ItemStack matQuartzDust);
|
||||
|
||||
boolean isPipe(TileEntity te, ForgeDirection opposite);
|
||||
|
||||
ItemStack addItemsToPipe(TileEntity ad, ItemStack itemstack, ForgeDirection dir);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
package appeng.integration.abstraction.helpers;
|
||||
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import appeng.transformer.annotations.integration.Method;
|
||||
import buildcraft.api.power.PowerHandler.PowerReceiver;
|
||||
|
||||
public abstract class BaseMJperdition
|
||||
{
|
||||
|
||||
@Method(iname = "MJ5")
|
||||
public abstract PowerReceiver getPowerReceiver();
|
||||
|
||||
public abstract double useEnergy(double f, double required, boolean b);
|
||||
|
||||
public abstract void addEnergy(float failed);
|
||||
|
||||
public abstract void configure(int i, int j, float f, int k);
|
||||
|
||||
public abstract void writeToNBT(NBTTagCompound tag);
|
||||
|
||||
public abstract void readFromNBT(NBTTagCompound tag);
|
||||
|
||||
public abstract void Tick();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user