Applied-Energistics-2-tiler.../integration/abstraction/IBC.java
2013-12-27 16:59:59 -06:00

44 lines
1.1 KiB
Java

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