1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-06-29 00:23:23 +00:00
CC-Tweaked/src/main/java/dan200/computercraft/api/peripheral
SquidDev 5d05205d69 Introduce IWorkMonitor into the public API
This effectively acts as a public interface to canExecuteExternal() and
consumeTime(). It's hopefully sufficiently general that we can mess
around with the backend as much as we like in the future.

One thing to note here is that this is based on a polling API, as it's
largely intended for people running work every tick. It would be
possible to adapt this with callbacks for when work is available,
etc..., but that was not needed immediately.

This also removes IComputerOwned, as Plethora no longer needs it.
2019-03-26 11:21:16 +00:00
..
IComputerAccess.java Introduce IWorkMonitor into the public API 2019-03-26 11:21:16 +00:00
IPeripheral.java Attach peripherals directly rather than deferring 2019-02-25 19:11:35 +00:00
IPeripheralProvider.java Remove redundant line in copyright header 2019-01-03 11:02:21 +00:00
IWorkMonitor.java Introduce IWorkMonitor into the public API 2019-03-26 11:21:16 +00:00
package-info.java Remove redundant line in copyright header 2019-01-03 11:02:21 +00:00