Interface IRedstoneManager
- All Known Implementing Classes:
RedstoneManagerSpigot
public interface IRedstoneManager
Manages redstone status checks for power blocks.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault IRedstoneManager.RedstoneStatusisBlockPowered(ILocation location) isBlockPowered(IWorld world, Vector3Di position) Checks if a block is a power block (correct block type) and if it is powered.
-
Method Details
-
isBlockPowered
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
-