2013-12-27 23:59:59 +01:00
|
|
|
package appeng.integration.abstraction;
|
|
|
|
|
2014-02-16 19:41:45 +01:00
|
|
|
import net.minecraft.block.Block;
|
2013-12-27 23:59:59 +01:00
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
|
|
import net.minecraft.item.Item;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.tileentity.TileEntity;
|
2014-02-09 02:34:52 +01:00
|
|
|
import net.minecraft.util.IIcon;
|
|
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
2013-12-27 23:59:59 +01:00
|
|
|
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();
|
|
|
|
|
2014-02-16 19:41:45 +01:00
|
|
|
IFacadePart createFacadePart(Block blk, int meta, ForgeDirection side);
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
IFacadePart createFacadePart(ItemStack held, ForgeDirection side);
|
|
|
|
|
|
|
|
ItemStack getTextureForFacade(ItemStack facade);
|
|
|
|
|
2014-02-09 02:34:52 +01:00
|
|
|
IIcon getFacadeTexture();
|
2013-12-27 23:59:59 +01:00
|
|
|
|
|
|
|
}
|