public interface IInjectable
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInjectItems(net.minecraftforge.common.util.ForgeDirection from) |
int |
injectItem(net.minecraft.item.ItemStack stack,
boolean doAdd,
net.minecraftforge.common.util.ForgeDirection from,
EnumColor color)
Offers an ItemStack for 3addition to the pipe.
|
boolean canInjectItems(net.minecraftforge.common.util.ForgeDirection from)
int injectItem(net.minecraft.item.ItemStack stack,
boolean doAdd,
net.minecraftforge.common.util.ForgeDirection from,
EnumColor color)
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.color - The color of the item to be added to the pipe, or null for no color.