02-14-2014, 06:34 AM
Tigerw, such hooks would most probably kill the performance whenever there's a bit more redstone. In this case the polling is actually the better way to go - there's some 16 blocks to poll per tick, compared to possible thousands of hook calls, each having to lock a critical section on a plugin.
However, this does bring me to an interesting idea - how about letting the plugins register callbacks for specific blocks being changed? Something like "If block at XYZ changes, call this function".
However, this does bring me to an interesting idea - how about letting the plugins register callbacks for specific blocks being changed? Something like "If block at XYZ changes, call this function".