接口 SignalGetter

所有超级接口:
BlockGetter, IForgeBlockGetter, LevelHeightAccessor
所有已知子接口:
CommonLevelAccessor, LevelAccessor, LevelReader, LevelTimeAccess, ServerLevelAccessor, WorldGenLevel
所有已知实现类:
ClientLevel, Level, ServerLevel, WorldGenRegion

public interface SignalGetter extends BlockGetter
  • 字段详细资料

    • DIRECTIONS

      static final Direction[] DIRECTIONS
  • 方法详细资料

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