mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-12-15 20:50:29 +00:00
a8dad23fa3
- Move IDirectionalTile constraint from IPeripheralTile to TilePeripheralBase. - Make *WiredModemFull no longer inherit from *PeripheralBase. While there is still some shared logic (namely in the syncing of "anim"), it's largely fine as we don't store label or direction in NBT. - Add a TickScheduler. This is a thread-safe version of World.scheduleUpdate. We simply build a set of all TEs, and schedule them to be updated the next tick. - Make ModemState receive an "onChanged" listener, which is fired whenever the modem changes. - Make WiredModemFull no longer tick, instead scheduling updates when it is first loaded and whenever the modem changes. |
||
---|---|---|
.. | ||
main | ||
test/java/dan200/computercraft |