AE2 First Commit, the dawn of 1.7 hast arrived.
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
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.Icon;
|
||||
import net.minecraftforge.common.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(int[] ids, ForgeDirection side);
|
||||
|
||||
IFacadePart createFacadePart(ItemStack held, ForgeDirection side);
|
||||
|
||||
ItemStack getTextureForFacade(ItemStack facade);
|
||||
|
||||
Icon getFacadeTexture();
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraftforge.common.ForgeDirection;
|
||||
import appeng.util.InventoryAdaptor;
|
||||
|
||||
public interface IBS
|
||||
{
|
||||
|
||||
boolean isStorageCrate(Object te);
|
||||
|
||||
InventoryAdaptor getAdaptor(Object te, ForgeDirection d);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.parts.IPartHost;
|
||||
import appeng.parts.CableBusContainer;
|
||||
|
||||
public interface IFMP
|
||||
{
|
||||
|
||||
IPartHost getOrCreateHost(TileEntity tile);
|
||||
|
||||
CableBusContainer getCableContainer(TileEntity te);
|
||||
|
||||
void registerPassThru(Class<?> layerInterface);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
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);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import appeng.api.features.IItemComparisionProvider;
|
||||
|
||||
public interface IForestry
|
||||
{
|
||||
|
||||
IItemComparisionProvider 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,26 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
|
||||
public interface IIC2
|
||||
{
|
||||
|
||||
boolean canUse(ItemStack i, int powerusage);
|
||||
|
||||
boolean use(ItemStack i, int powerusage, EntityPlayer p);
|
||||
|
||||
int discharge(ItemStack i, int powerusage, int tier, boolean ignoreTransferLimit, boolean simulate);
|
||||
|
||||
void addCompressorRecipe(ItemStack dustRecipe, ItemStack matQuartz);
|
||||
|
||||
void addMaceratorRecipe(ItemStack itemStack, ItemStack matFlour);
|
||||
|
||||
void addToEnergyNet(TileEntity appEngTile);
|
||||
|
||||
void removeFromEnergyNet(TileEntity appEngTile);
|
||||
|
||||
ItemStack getItem(String string);
|
||||
|
||||
}
|
||||
@@ -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,13 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import appeng.api.storage.IMEInventory;
|
||||
|
||||
public interface IMFR
|
||||
{
|
||||
|
||||
IMEInventory getDSU(TileEntity te);
|
||||
|
||||
boolean isDSU(TileEntity te);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface IMekanism
|
||||
{
|
||||
|
||||
void addMaceratorRecipe(ItemStack in, ItemStack out);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public interface ITE
|
||||
{
|
||||
|
||||
void addPulverizerRecipe(int i, ItemStack blkQuartz, ItemStack blockDust);
|
||||
|
||||
void addPulverizerRecipe(int i, ItemStack blkQuartzOre, ItemStack matQuartz, ItemStack matQuartzDust);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
package appeng.integration.abstraction;
|
||||
|
||||
public interface IUE
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user