Redstone...
#3
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.
Reply
Thanks given by:


Messages In This Thread
Redstone... - by rs2k - 11-02-2011, 12:22 PM
RE: Redstone... - by FakeTruth - 11-02-2011, 12:48 PM
RE: Redstone... - by rs2k - 11-02-2011, 01:15 PM
RE: Redstone... - by rs2k - 11-04-2011, 03:55 AM
RE: Redstone... - by rs2k - 11-04-2011, 05:26 AM
RE: Redstone... - by FakeTruth - 11-04-2011, 10:22 AM
RE: Redstone... - by rs2k - 11-04-2011, 03:12 PM
RE: Redstone... - by FakeTruth - 11-05-2011, 01:53 AM
RE: Redstone... - by rs2k - 11-06-2011, 04:46 AM
RE: Redstone... - by rs2k - 11-09-2011, 11:35 AM
RE: Redstone... - by NiLSPACE - 11-28-2012, 05:29 AM



Users browsing this thread: 7 Guest(s)