接口 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 pPos, Direction pDirection)
    • getDirectSignalTo

      default int getDirectSignalTo(BlockPos pPos)
    • getControlInputSignal

      default int getControlInputSignal(BlockPos pPos, Direction pDirection, boolean pDiodesOnly)
    • hasSignal

      default boolean hasSignal(BlockPos pPos, Direction pDirection)
    • getSignal

      default int getSignal(BlockPos pPos, Direction pDirection)
    • hasNeighborSignal

      default boolean hasNeighborSignal(BlockPos pPos)
    • getBestNeighborSignal

      default int getBestNeighborSignal(BlockPos pPos)