Interface IRedstoneManager

All Known Implementing Classes:
RedstoneManagerSpigot

public interface IRedstoneManager
Manages redstone status checks for power blocks.
  • Method Details

    • isBlockPowered

      IRedstoneManager.RedstoneStatus isBlockPowered(IWorld world, Vector3Di position)
      Checks if a block is a power block (correct block type) and if it is powered.
      Parameters:
      world - The world the block is in.
      position - The position of the block.
      Returns:
      True if the block at the given position is a valid power block that is receiving an active redstone signal.
    • isBlockPowered

      default IRedstoneManager.RedstoneStatus isBlockPowered(ILocation location)