so, an on_circuit_change() class called whenever someone places a redstone torch, uses a lever or button/pressure plate, a block is changed within 1 square of a redstone device then?
Something like:
the class will check all blocks within 1 square doing something different for vertical blocks based on the device in the center square.
If a redstone device in that square is changed it calls the class again on the new square with a direction or position put into the class.
Something like a repeater will have to call the class after X server ticks based on what its setting is.
The class will change the redstone meta device meta data and move on if needed.
Something like:
the class will check all blocks within 1 square doing something different for vertical blocks based on the device in the center square.
If a redstone device in that square is changed it calls the class again on the new square with a direction or position put into the class.
Something like a repeater will have to call the class after X server ticks based on what its setting is.
The class will change the redstone meta device meta data and move on if needed.