Interface RedstoneEngine


public interface RedstoneEngine
The redstone simulation, registered as a service: how signals are resolved, the order block updates spread in, and scheduled ticks.
Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    world(World world)
    Gets the redstone of a world: its signals, and what changes them.
  • Method Details

    • world

      RedstoneWorld world(World world)
      Gets the redstone of a world: its signals, and what changes them.
      Parameters:
      world - a loaded world
      Returns:
      the redstone view of the world
      Throws:
      IllegalArgumentException - if the world is not one the engine can drive
      Since:
      0.1.0