Applied-Energistics-2-tiler.../integration/abstraction/IBC.java
AlgorithmX2 dc095749b7 Fixed Issue with DSU API,
Re-added support for MJ
Re-added support for pipe
Re-added support for BC-Facades.
2014-02-16 12:41:45 -06:00

45 lines
1.1 KiB
Java

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();
}