public interface IPipeExtensionManager
| Modifier and Type | Method and Description |
|---|---|
void |
registerRetractionPipe(PipeDefinition pipeDefinition)
Registers a pipe as a retraction trigger for pipe extension requests
|
boolean |
requestPipeExtension(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir,
IStripesActivator stripes,
net.minecraft.item.ItemStack stack)
Requests an extension by one block from a IStripesActivator (usually a stripes transport pipe) with the pipe supplied
by the stack by moving the stripes pipe to the front and placing the new transport pipe behind.
|
boolean requestPipeExtension(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing dir,
IStripesActivator stripes,
net.minecraft.item.ItemStack stack)
registerRetractionPipe(PipeDefinition)) it retracts the pipeline instead by moving the stripes pipe one block
in the opposite direction, replacing the previous transport pipe.world - the worldpos - the position or origin of the request (usually the stripes pipe position)dir - the direction of the proposed extensionstripes - the stripes pipestack - the pipe stack to use (Note: only uses one item and sends the rest back)void registerRetractionPipe(PipeDefinition pipeDefinition)
pipeDefinition - the pipe definition