Commit Graph

122 Commits

Author SHA1 Message Date
Shadowfacts 68e612c63c
Terminal GUI: add read only fake slot 2019-10-29 20:59:58 -04:00
Shadowfacts de81412630
Only recalculate and sync net items when a player has the terminal open 2019-10-29 17:45:58 -04:00
Shadowfacts 7bc859eaf6
Sync terminal cached item counts to client 2019-10-29 17:33:33 -04:00
Shadowfacts 64c18e9eae
Start adding terminal container and GUI 2019-10-29 15:15:27 -04:00
Shadowfacts 0c5e353525
Change terminal to read inventories instead of stacks directly
This is slightly more efficient, and removes the need for interfaces to
observe their inventories for changes (something that's not possible in
Vanilla).
2019-10-29 11:25:51 -04:00
Shadowfacts 2cc9d592b2
Only allow the network cable to connect on a specific side, add model and shape 2019-10-28 18:46:47 -04:00
Shadowfacts 45052029e9
Change Terminal to cache inventories instead of items directly 2019-10-28 17:48:10 -04:00
Shadowfacts e246736486
Add cable disconnection using the Screwdriver 2019-10-28 12:39:12 -04:00
Shadowfacts f9fd00f611
Allow cable connections on individual sides to be disabled 2019-10-28 12:38:55 -04:00
Shadowfacts 04f0ae6d41
Add screwdriver item 2019-10-28 12:37:54 -04:00
Shadowfacts c7da691ffd
Use cable connections in search instead of checking every direction 2019-10-28 12:00:17 -04:00
Shadowfacts dfccc5b2ec
Add Cable block 2019-10-28 11:53:47 -04:00
Shadowfacts a95621e3f1
Add switches 2019-10-26 23:13:26 -04:00
Shadowfacts 0908ccbb3a
Fix incorrect MAC address multicast check 2019-10-26 23:13:14 -04:00
Shadowfacts d3c1cbdb5b
Rename things 2019-10-26 22:14:19 -04:00
Shadowfacts 6e87092dde
Remove Interface right-click printing 2019-10-26 22:10:48 -04:00
Shadowfacts a8b53e1117
Explicitly specify packet destinations instead of broadcasting to all
connected sinks
2019-10-26 22:09:16 -04:00
Shadowfacts fa7c499f29
Fix Interfaces not reading inventory contents immediately on world load
This happened because the after a world load, there was no neighbor
change to trigger an inventory update.
2019-10-26 22:06:00 -04:00
Shadowfacts 19c035495c
Fix stacks of same type in different inventories not grouping 2019-10-26 21:52:41 -04:00
Shadowfacts 6fae09d410
Cleanup NetworkUtil 2019-10-26 21:52:38 -04:00
Shadowfacts 0eabbf9ec1
Rudimentary network implementation 2019-10-26 21:36:31 -04:00
Shadowfacts 7b1a82d02b
Initial commit 2019-10-26 21:35:25 -04:00