Commit Graph

70 Commits

Author SHA1 Message Date
Shadowfacts 2c8b7cbb63
Merge branch 'main' into cacao 2021-02-26 18:55:47 -05:00
Shadowfacts 4c5b7daf9e
Use an actual logger 2021-02-26 17:04:18 -05:00
Shadowfacts 1f078c671f
Add EnumButton 2021-02-24 22:47:07 -05:00
Shadowfacts 9252a35dae
Convert extractor to use NetworkStackDispatcher 2021-02-24 22:09:24 -05:00
Shadowfacts d621e9e089
Add actual Redstone Controller model 2021-02-24 22:08:27 -05:00
Shadowfacts b283480edf
Localize more things 2021-02-23 22:39:51 -05:00
Shadowfacts d3a0f279da
Add Redstone Controller 2021-02-23 22:05:05 -05:00
Shadowfacts 700817919a
Move face device block logic to separate base class
The extractor currently isn't considered a "face block" because its
network connection is always in the opposite direction of its facing,
unlike the interace.
2021-02-21 15:35:20 -05:00
Shadowfacts 7abdb69b87
Move terminal stack requesting logic to TerminalScreen 2021-02-21 15:18:48 -05:00
Shadowfacts f9befe9549
Calculate terminal displayed items on the server
Avoids sending giant S2C packets containing all items in the network
when the network contains a great variety of different items
2021-02-21 12:02:38 -05:00
Shadowfacts 3ebafc062f
Add Terminal GUI sort mode 2021-02-21 11:14:15 -05:00
Shadowfacts 404eb27e67
Fix shift-clicking stacks from buffer not matching vanilla slot
insertion order
2021-02-20 15:28:55 -05:00
Shadowfacts 2981bdcb07
Add request specific amount dialog to terminal GUI 2021-02-20 14:24:40 -05:00
Shadowfacts 03c9c2ab83
Fix not being able to extract more than max stack size from interface 2021-02-20 14:18:21 -05:00
Shadowfacts 15f9b02041
Start adding CacaoHandledScreen 2021-02-18 23:27:18 -05:00
Shadowfacts 8f577598ff
Add Cacao 2021-02-18 23:12:43 -05:00
Shadowfacts 870785f6f2
Don't unfocus terminal search box on click 2021-02-17 23:24:17 -05:00
Shadowfacts 9d16a7e5cd
Fix not being able to extract items with network counts > 127 from
terminal
2021-02-17 23:19:57 -05:00
Shadowfacts c9fe6400f0
Start processing stack extraction requests immediately 2021-02-17 23:09:24 -05:00
Shadowfacts a88eda357c
Improve Miner handling of excess items 2021-02-17 23:03:21 -05:00
Shadowfacts 7034ce11ef
Fix ConcurrentModificationExceptions 2021-02-17 23:03:15 -05:00
Shadowfacts 6a06ef6ae0
Fix cables connected to non-network connected sides of devices 2021-02-17 22:29:18 -05:00
Shadowfacts f9196eea56
Extract network stack dispatching logic from terminal to other interface 2021-02-17 22:09:44 -05:00
Shadowfacts c6a5602ec1
Add search field to terminal 2021-02-15 22:51:33 -05:00
Shadowfacts 0f7689d73c
Add Miner block 2021-02-14 23:42:19 -05:00
Shadowfacts 649408c509
Add Extractor block 2021-02-14 22:28:13 -05:00
Shadowfacts 0dcb647de4
Fix sending DeviceRemovedPacket on client 2021-02-14 16:04:03 -05:00
Shadowfacts e0dfefb72b
Fix ConcurrentModificationException 2021-02-14 16:03:52 -05:00
Shadowfacts 583afd3dc9
Code cleanup 2021-02-14 16:03:40 -05:00
Shadowfacts 6b340740ce
Fix tooltips not being drawn in Terminal 2021-02-14 12:07:19 -05:00
Shadowfacts 584d8cd04e
Add Console item 2021-02-14 12:07:05 -05:00
Shadowfacts 446a2a42c3
Draw terminal screen background 2021-02-14 11:29:52 -05:00
Shadowfacts 27713aedba
Localize names 2021-02-14 11:24:55 -05:00
Shadowfacts c8cdf425cb
Convert Terminal and Interface blocks to layer 3 2021-02-13 21:37:39 -05:00
Shadowfacts fc3716153f
Refactor DeviceBlockEntity to only have 1 interface 2021-02-13 21:28:44 -05:00
Shadowfacts e8425b80fd
Implement layer 3 networking 2021-02-13 18:24:36 -05:00
Shadowfacts 26134cea9d
Send remainder of partially-inserted stacks back to source 2021-02-11 23:11:50 -05:00
Shadowfacts d61ed8b7cc
Terminal: Fix extraction having different latency than insertion 2021-02-11 22:32:42 -05:00
Shadowfacts 1c3e358f2e
Terminal: Shift-click transferring, draw slot modes 2021-02-11 00:10:24 -05:00
Shadowfacts dedfcae79b
Terminal: Add basic insertion into inventories 2021-02-10 22:40:01 -05:00
Shadowfacts b1c37595ab
Update to 1.16.5 2021-02-10 22:39:45 -05:00
Shadowfacts 8a20837f11
Terminal: Define separate mode for buffer inventory slots 2019-10-30 14:55:29 -04:00
Shadowfacts 14125143dc
Terminal: Add right-clicking to request half a stack 2019-10-30 14:55:04 -04:00
Shadowfacts 37692aac7d
Terminal: Merge stacks into buffer where possible 2019-10-30 14:27:18 -04:00
Shadowfacts 2ec294d427
Terminal: Fix multiple stacks being extracted on a single shift-click 2019-10-30 14:09:47 -04:00
Shadowfacts 654baa81a1
Switch: Implement switching capacity 2019-10-30 14:05:53 -04:00
Shadowfacts 98134825a6
Send packets immediately instead of on the next tick 2019-10-30 13:59:28 -04:00
Shadowfacts 2a9fc29cdd
Fix crash loading terminal from disk 2019-10-30 13:53:40 -04:00
Shadowfacts f4f4c7ff03
Terminal: Rudimentary stack extraction 2019-10-29 21:58:25 -04:00
Shadowfacts 5d62e60bb2
Terminal: sync internal buffer inventory to client 2019-10-29 21:00:15 -04:00