Interface SignalGetter

All Superinterfaces:
BlockGetter, IForgeBlockGetter, LevelHeightAccessor
All Known Subinterfaces:
CommonLevelAccessor, LevelAccessor, LevelReader, LevelTimeAccess, ServerLevelAccessor, WorldGenLevel
All Known Implementing Classes:
ClientLevel, Level, ServerLevel, WorldGenRegion

public interface SignalGetter extends BlockGetter
  • Field Details

    • DIRECTIONS

      static final Direction[] DIRECTIONS
  • Method Details

    • getDirectSignal

      default int getDirectSignal(BlockPos p_277954_, Direction p_277342_)
    • getDirectSignalTo

      default int getDirectSignalTo(BlockPos p_277959_)
    • getControlInputSignal

      default int getControlInputSignal(BlockPos p_277757_, Direction p_278104_, boolean p_277707_)
    • hasSignal

      default boolean hasSignal(BlockPos p_277371_, Direction p_277391_)
    • getSignal

      default int getSignal(BlockPos p_277961_, Direction p_277351_)
    • hasNeighborSignal

      default boolean hasNeighborSignal(BlockPos p_277626_)
    • getBestNeighborSignal

      default int getBestNeighborSignal(BlockPos p_277977_)