mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-23 21:49:50 +00:00
33 lines
901 B
Java
Executable File
33 lines
901 B
Java
Executable File
/**
|
|
* Copyright (c) 2011-2014, SpaceToad and the BuildCraft Team
|
|
* http://www.mod-buildcraft.com
|
|
*
|
|
* BuildCraft is distributed under the terms of the Minecraft Mod Public
|
|
* License 1.0, or MMPL. Please check the contents of the license located in
|
|
* http://www.mod-buildcraft.com/MMPL-1.0.txt
|
|
*/
|
|
package buildcraft.api.transport;
|
|
|
|
import net.minecraft.item.ItemStack;
|
|
import net.minecraft.nbt.NBTTagCompound;
|
|
|
|
import net.minecraftforge.common.util.ForgeDirection;
|
|
|
|
public interface IPipePluggable {
|
|
void writeToNBT(NBTTagCompound nbt);
|
|
|
|
void readFromNBT(NBTTagCompound nbt);
|
|
|
|
ItemStack[] getDropItems(IPipeTile pipe);
|
|
|
|
void onAttachedPipe(IPipeTile pipe, ForgeDirection direction);
|
|
|
|
void onDetachedPipe(IPipeTile pipe, ForgeDirection direction);
|
|
|
|
boolean blocking(IPipeTile pipe, ForgeDirection direction);
|
|
|
|
void invalidate();
|
|
|
|
void validate(IPipeTile pipe, ForgeDirection direction);
|
|
}
|