Commit Graph

185 Commits

Author SHA1 Message Date
Shadowfacts 0674b4a56e
Add Switch textures 2021-03-12 17:14:02 -05:00
Shadowfacts 8b24eeb398
Add Interface textures 2021-03-12 17:13:50 -05:00
Shadowfacts 0d629914c4
Add Kat's textures 2021-03-10 23:15:08 -05:00
Shadowfacts ae27a53814
Add recipes for Switch, Interface, Terminal, Inserter, Extractor, Miner,
Redstone Controller, Redstone Emitter, and Screwdriver
2021-03-10 18:38:46 -05:00
Shadowfacts 8b1705f0a0
Fix crash when loading Redstone Controller/Emitter from NBT 2021-03-10 18:08:57 -05:00
Shadowfacts c2f1f606f2
Add Silicon Wafer, Item Processor, Redstone Processor 2021-03-10 18:08:23 -05:00
Shadowfacts 2035874baa
Add some advancements 2021-03-09 18:36:55 -05:00
Shadowfacts 7170c3482b
Fix Terminal screen not setting focused element
REI expects Screen.getFocused() to be non-null to skip its input
handling
2021-03-09 18:35:57 -05:00
Shadowfacts cd6299b876
Set Console and Screwdriver stack sizes to 1 2021-03-09 18:35:28 -05:00
Shadowfacts 1bbb193183
Add Redstone Emitter digital mode 2021-03-09 18:34:57 -05:00
Shadowfacts e646e1e7c2
Fix Redstone Controller not updating when mode is changed 2021-03-09 18:34:13 -05:00
Shadowfacts b78eb192de
Fix Miner not inserting things 2021-03-09 18:25:59 -05:00
Shadowfacts 815a9ab8af
Setup Gradle multi-project and add REI plugin 2021-03-08 20:53:25 -05:00
Shadowfacts 6f55282537
Add Screen and Serial Cable and Console recipe 2021-03-08 18:32:20 -05:00
Shadowfacts 8100532678
Add Terminal GUI scrolling 2021-03-07 14:02:39 -05:00
Shadowfacts 6e4d1e63a9
Convert Extractor and Inserter to FaceDeviceBlocks 2021-03-07 14:02:24 -05:00
Shadowfacts e6faa34355
Allow screwdrivering cables and switches 2021-03-07 10:58:34 -05:00
Shadowfacts 9acceeae3c
Place face devices directly on cables 2021-03-07 10:38:22 -05:00
Shadowfacts eb1aa6cf19
Allow breaking cables by hand 2021-03-07 10:38:09 -05:00
Shadowfacts c9bcfd29d5
Add Twisted Pair and Cable recipe 2021-03-06 20:04:32 -05:00
Shadowfacts 2198b5e10d
Fix weird tab appearance at certain resolutions
There's 1 physical pixel of error creeping in somewhere which was being
displayed below the selected tab. Workaround it by using a tab texture
which has transparent pixels below the bottom of the select tabs.
2021-03-06 19:10:24 -05:00
Shadowfacts 1c405f8623
Tweak terminal placement behavior 2021-03-06 19:09:35 -05:00
Shadowfacts 89e91796a5
Fix not being able to open Redstone Emitter GUI 2021-03-06 15:53:25 -05:00
Shadowfacts 219033476c
Fix crash showing tooltip when mouse was on the edge between two tabs 2021-03-06 15:47:27 -05:00
Shadowfacts 32d87fbd9d
Convert Redstone Controller and Emitter to use FaceDeviceModel 2021-03-06 15:36:06 -05:00
Shadowfacts 72b8435834
Add unconnected interface cable 2021-03-06 15:01:22 -05:00
Shadowfacts 5542f088f9
Add programatic model for interface block 2021-03-06 14:23:41 -05:00
Shadowfacts 7cc96d78ad
Delay packets after switching capacity is reached 2021-03-06 14:09:56 -05:00
Shadowfacts da8b600f31
Fix extractors not extracting 2021-03-04 22:24:40 -05:00
Shadowfacts 74aae99b36
Fix screwdriver duplicating terminal buffered items 2021-03-04 22:15:18 -05:00
Shadowfacts f321b2a06a
Add interface priority syncing 2021-03-04 19:44:31 -05:00
Shadowfacts 385e36918f
Fix weird terminal behavior when inserting multiple equivalent stacks 2021-03-03 23:16:31 -05:00
Shadowfacts 8dbccc541e
Add network stack receiver priority 2021-03-03 23:13:09 -05:00
Shadowfacts 868b0d42f9
Fix screwdrivered block stacking, tweak sound 2021-03-03 22:29:19 -05:00
Shadowfacts 170e50755a
Add network stack provider priorities 2021-03-03 22:00:21 -05:00
Shadowfacts 2d3ac4538d
Drop Terminal items on block break 2021-03-03 19:16:51 -05:00
Shadowfacts 5b314120a7
Add using screwdriver to dismantle devices 2021-03-03 18:43:49 -05:00
Shadowfacts ca090d0924
Add Miner automatic mode 2021-03-03 17:23:57 -05:00
Shadowfacts 2958fa295a
Unify client configuration packets 2021-03-02 22:40:41 -05:00
Shadowfacts 3cd4a7aa0d
Add Redstone Emitter 2021-03-02 22:20:25 -05:00
Shadowfacts 4fe6391e69
Use powered property for Redstone Controller instead of lit 2021-03-01 21:30:36 -05:00
Shadowfacts e2fa31b680
Change screen handler constant names 2021-03-01 21:30:13 -05:00
Shadowfacts 9aa1077977
Add copyWithCount helper 2021-03-01 21:29:14 -05:00
Shadowfacts c976c3f607
Add DeviceBlockEntity common tag helpers 2021-02-28 22:47:54 -05:00
Shadowfacts e4e8dde2fb
Fix inserter screen not drawing world overlay 2021-02-28 22:21:08 -05:00
Shadowfacts ccefb8ae2f
Change Redstone Controller package 2021-02-28 22:03:29 -05:00
Shadowfacts 4c2148b30f
Extract GhostSlot to separate class 2021-02-28 22:02:26 -05:00
Shadowfacts f5268aef51
Fix extractor duplicating items 2021-02-28 19:01:59 -05:00
Shadowfacts 2084a749fb
Add loot tables for everything 2021-02-28 18:56:04 -05:00
Shadowfacts e13154943e
Add Inserter 2021-02-28 18:06:26 -05:00
Shadowfacts 9b4fc548e5
Reorganize code 2021-02-28 13:48:39 -05:00
Shadowfacts a8f0387577
Remove test blocks 2021-02-28 13:45:56 -05:00
Shadowfacts 2c19b8456b
Cacao: More docs 2021-02-28 12:19:09 -05:00
Shadowfacts 500ad94442
Convert console screen to use Cacao 2021-02-27 21:48:40 -05:00
Shadowfacts 3926da0c3c
Cacao: Add tab tooltips 2021-02-27 18:38:40 -05:00
Shadowfacts 9e3366cbfb
Cacao: Add text field 2021-02-27 14:02:30 -05:00
Shadowfacts 277bcb71ee
Cacao: Add TabViewController 2021-02-27 13:24:52 -05:00
Shadowfacts d20ba7460e
Cacao: Misc changes 2021-02-27 13:24:52 -05:00
Shadowfacts c1ecdacc06
Cacao: Convet Label to use Text 2021-02-27 13:24:48 -05:00
Shadowfacts ecfb696bc9
Fully qualify mixin target 2021-02-26 19:13:45 -05:00
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 aec32ae270
Fix console texture 2021-02-18 22:12:53 -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 249416b8c2
Add cable texture, update cable & interface models 2021-02-15 17:05:17 -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 633f9d94aa
Add Interface item model 2021-02-14 12:28:59 -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