public interface IPipeTile
| Modifier and Type | Interface and Description |
|---|---|
static class |
IPipeTile.PipeType |
| Modifier and Type | Method and Description |
|---|---|
IPipeTile.PipeType |
getPipeType() |
int |
injectItem(net.minecraft.item.ItemStack stack,
boolean doAdd,
net.minecraftforge.common.util.ForgeDirection from)
Offers an ItemStack for addition to the pipe.
|
boolean |
isPipeConnected(net.minecraftforge.common.util.ForgeDirection with)
True if the pipe is connected to the block/pipe in the specific direction
|
boolean |
isWireActive(PipeWire wire)
True if the pipe has a powered wire of the specified color.
|
IPipeTile.PipeType getPipeType()
int injectItem(net.minecraft.item.ItemStack stack,
boolean doAdd,
net.minecraftforge.common.util.ForgeDirection from)
stack - ItemStack offered for addition. Do not manipulate this!doAdd - If false no actual addition should take place. Implementors
should simulate.from - Orientation the ItemStack is offered from.boolean isPipeConnected(net.minecraftforge.common.util.ForgeDirection with)
with - boolean isWireActive(PipeWire wire)
wire -