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 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)