Interface ITTPipeBlock<VALVE extends IValve<VALVE>>
- All Known Implementing Classes:
AbstractStraightTTPipeBlock
public interface ITTPipeBlock<VALVE extends IValve<VALVE>>
"Transport Tycoon" Pipe, so named because I was inspired by the way train tracks can connect in Transport Tycoon Deluxe by Sid Myers
-
Method Summary
Modifier and TypeMethodDescriptionvoidgetPipeConnections(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction inputFace, Consumer<TTPipeConnection<VALVE>> connections) ITTPipeType<VALVE, ? extends ITTPipeConnectionHandler<VALVE, ?>> voidupdatePossibleConnections(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, Consumer<net.minecraft.core.Vec3i> connectionLocations)
-
Method Details
-
getPipeType
ITTPipeType<VALVE,? extends ITTPipeConnectionHandler<VALVE, getPipeType()?>> -
getPipeConnections
void getPipeConnections(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction inputFace, Consumer<TTPipeConnection<VALVE>> connections) throws TTPipeConnectionException - Throws:
TTPipeConnectionException
-
updatePossibleConnections
void updatePossibleConnections(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, Consumer<net.minecraft.core.Vec3i> connectionLocations)
-