Commit graph

207 commits

Author SHA1 Message Date
Ell
1dec3206ee Merge remote-tracking branch 'origin/main' into main 2021-01-06 22:31:54 +01:00
Ell
b12a62fa4a Fixed pipes not dropping their contents when removed with a pipe wrench
Closes #69
2021-01-06 22:31:37 +01:00
Ell
3cd08bd0d8 Added a dependency chain for crafting operations
Possibly fixes #68
2020-12-25 15:23:44 +01:00
Ell
659903ba38 added scrolling to the terminal gui
Closes #64
2020-12-04 19:51:20 +01:00
Ell
0255340626 added random and round robin sorting modifiers
Closes #52
2020-12-04 19:32:16 +01:00
Ell
782ab181ce probably increase performance by a lot 2020-11-28 02:15:29 +01:00
Ell
8ef981d50c fixed pipe items getting stuck in single-pipe networks
Closes #60
2020-11-26 02:21:32 +01:00
Ell
78deb87993 fixed some equality type inconsistencies 2020-11-22 20:36:08 +01:00
Ell
c041b2320b fixed currently crafting amount being incorrect with multiple crafting modules in a pipe 2020-11-22 19:50:31 +01:00
Ell
f9d72a3b87 fixed retrieval modules ignoring filter extensions
Closes #59
2020-11-22 19:29:04 +01:00
Ell
b25ad992e6 fixed some crafting module miscalculations 2020-11-16 23:15:35 +01:00
Ell
4274f4b36b fixed the stack limiter module displaying incorrect text
Closes #53
2020-11-16 22:59:05 +01:00
Ell
82d56178f3 fixed the cancel crafting button not working correctly with JEI installed 2020-10-30 20:44:37 +01:00
Ell
42e91287a8 added a utility method for the crafting module's required destination algorithm 2020-10-30 20:17:53 +01:00
Ell
bb62acf45f made the crafting terminal ghost transfer also consider craftables
Closes #50
2020-10-27 22:51:07 +01:00
Ell
a5b7bd1e82 added high priority modules
Closes #48
2020-10-27 15:36:52 +01:00
Ell
23a4292f47 made crafting terminal slots not be cleared when picking up an item 2020-10-27 15:24:52 +01:00
Ell
36e358d2bd made crafting terminals select the crafting item that you have most of
Closes #49
2020-10-27 15:20:17 +01:00
Ell
072fc3b924 added compatibility for vanilla's weird composter special case
Closes #47
2020-10-24 15:00:11 +02:00
Ell
a53e0cf5d5 fixed a crafting terminal overflow if the crafting slots are full 2020-10-20 18:31:13 +02:00
Ell
c1100b02fe fixed the pipe not dropping its cover on break 2020-10-20 16:09:38 +02:00
Ell
27b3ddd869 fixed mek bins and over-sending not playing well together 2020-10-20 14:59:05 +02:00
Ell
636f40eee5 fixed network locks not being resolved when canceling crafting requests 2020-10-20 02:52:26 +02:00
Ell
b6df64df57 fixed the pressurizer loading chunks 2020-10-20 01:31:36 +02:00
Ell
afd055c8b1 made the retrieval module only retrieve when it's not waiting for crafting outputs 2020-10-20 01:30:33 +02:00
Ell
76f332c03e added a display that shows items that are currently being crafted 2020-10-20 00:52:56 +02:00
Ell
3dcda2f69a fixed lazy optionals 2020-10-19 21:31:23 +02:00
Ell
0aa78a2171 made getModelCount protected in PipeItem 2020-10-19 04:13:57 +02:00
Ell
e32ff7bb02 fixed JEI favorites overlapping buttons in the item terminal
Closes #45
2020-10-18 15:40:02 +02:00
Ell
dc9f7ed154 added IPipeItem 2020-10-18 02:32:28 +02:00
Ell
d4a895fcde some more slight API changes 2020-10-18 01:57:51 +02:00
Ell
b46fd3be72 removed chest special handling (since it was fixed in Forge) and added getNeighborCap to PipeTileEntity 2020-10-17 17:33:31 +02:00
Ell
64e2b9c4fe fixed non-stackable items not playing nice with the crafting terminal 2020-10-17 17:24:24 +02:00
Ell
ae5b81e933 separated pipe collision and regular shapes and made pipes collide a bit higher 2020-10-17 14:52:35 +02:00
Ell
4ff3ac6851 made IPipeConnectable a capability 2020-10-17 14:29:37 +02:00
Ell
5cda7beca7 fixed inventories with max stack sizes over 64 not being seen by terminals correctly 2020-10-17 04:15:53 +02:00
Ell
ff5368b108 added pipe covering 2020-10-17 00:58:31 +02:00
Ell
aba7738a8a added some more API stuff for Sky <3 2020-10-16 22:36:44 +02:00
Ell
585e003327 use linked lists in favor of ArrayDeques as they use far less memory when empty 2020-10-15 21:01:43 +02:00
Ell
4f78e7ecc8 added a mod filter modifier 2020-10-15 20:52:59 +02:00
Ell
b7cd8e5cdd Fixed multiple modules of the same type not being openable
Closes #43
2020-10-15 19:06:09 +02:00
Ell
f74ffc4629 fixed batch crafting requests being calculated incorrectly when auto-crafting 2020-10-15 06:25:10 +02:00
Ell
6ae511e485 unify equality types and add jei transfer 2020-10-15 06:07:06 +02:00
Ell
1f0c3952f3 added profiling for the crafting module 2020-10-15 05:09:55 +02:00
Ell
362a601e0a fixed crafting items that don't fit being ignored 2020-10-15 05:00:43 +02:00
Ell
4340b2ccb4 fixed message propagation for missing items 2020-10-15 04:46:23 +02:00
Ell
f38ab16e4d even more fixes! 2020-10-15 04:15:52 +02:00
Ell
27954a9765 some more fixes and cleanup 2020-10-15 01:56:42 +02:00
Ell
87d983611e fixed all the bugs! 2020-10-15 01:19:22 +02:00
Ell
57c3b13b64 part 2: actual crafting implementation 2020-10-14 23:39:11 +02:00
Ell
8029cc21a0 part 2: display craftables in the terminal 2020-10-14 22:30:02 +02:00
Ell
eb8f2695de added the basic crafting module setup 2020-10-14 22:04:52 +02:00
Ell
1fa764854c remove outdated todo 2020-10-14 20:23:51 +02:00
Ell
035254227c give a bit of time before dropping modules
Closes #39
2020-10-14 18:53:02 +02:00
Ell
60dd405f5d fixed populating filters sometimes inserting more than one item into the filter
Closes #38
2020-10-14 18:34:38 +02:00
Ell
bb06cb34eb allow pressing control to request 10 crafting items
Closes #40
2020-10-14 18:32:10 +02:00
Ell
a06c91be5a made item terminals extract items faster if there is a pressurizer in the network 2020-10-14 18:24:52 +02:00
Ell
6fbedff388 added the filter increase modifier 2020-10-14 04:28:58 +02:00
Ell
e3cbbae905 improve the performance of the pressurizer drastically 2020-10-13 23:02:11 +02:00
Ell
cafa3f39c2 remove an unnecessary method 2020-10-13 19:00:11 +02:00
Ell
03a798649a made pipe item movement more accurate 2020-10-13 18:42:45 +02:00
Ell
5b808d346c pressurizer, part 1 2020-10-13 18:11:40 +02:00
Ell
98a2bf6a43 Fixed a crash with invalid network nodes
Closes #37
2020-10-10 17:38:20 +02:00
Ell
9b36e0c444 finished the port? 2020-09-22 19:24:09 +02:00
Ell
85d080cb3a part 1? 2020-09-22 19:14:07 +02:00
Ell
a56896b2b2 use the correct start inventory for re-routing 2020-09-02 22:17:12 +02:00
Ell
7667adaac1 made pipe items attempt to re-route before dropping onto the ground
Closes #35
2020-09-02 22:16:12 +02:00
Ell
2ab889c467 Merge remote-tracking branch 'origin/master' into master 2020-09-02 22:06:54 +02:00
Ell
b20d15c05a only save filter data of modified filters
Closes #26
2020-09-02 22:06:44 +02:00
Quarris
05b4089af1
Expose items field 2020-08-28 16:14:29 +01:00
Ell
f5443becf8 made PipeBlock#getConnectionType not static 2020-08-28 00:33:34 +02:00
Ell
9f049e8b89 made some stuff protected for Quarris 2020-08-28 00:29:44 +02:00
Ellpeck
8a7388ab57 Fixed pipes being openable with a non-empty hand
Closes #23
2020-05-28 14:47:25 +02:00
Ellpeck
544e383974 allow modules to be inserted into pipes by right-clicking 2020-05-17 21:05:41 +02:00
Ellpeck
718cef5c4e only update search text when there are items
Closes #19
2020-05-17 16:24:24 +02:00
Ellpeck
a026cfc550 made modules be able to send less than their expected amount
Closes #16
2020-05-17 16:14:27 +02:00
Ellpeck
f2ebe8af90 allow modules in pipes connected to terminals 2020-05-17 15:29:10 +02:00
Ellpeck
b1d18d751d Fixed jei recipe transfer not working on servers
Closes #15
2020-05-16 14:28:25 +02:00
Ellpeck
8d347473af make "items on the way" only look at items going to the current INVENTORY, not the current pipe 2020-05-10 12:50:24 +02:00
Ellpeck
9fab982e6a fixed some pipes loading chunks 2020-05-09 21:53:00 +02:00
Ellpeck
9d29ed53c0 fixed single-pipe networks not allowing items through 2020-05-09 21:35:34 +02:00
Ellpeck
def337be85 didn't end up using this 2020-05-09 20:13:16 +02:00
Ellpeck
0af5ccde77 fixed items getting lost with the new system 2020-05-09 20:12:50 +02:00
Ellpeck
ede06585f7 unify item requests into one method 2020-05-09 16:27:49 +02:00
Ellpeck
8391f2222a finished the crafting terminal 2020-05-09 15:42:09 +02:00
Ellpeck
3104062b82 crafting terminal JEI logic! 2020-05-09 14:56:58 +02:00
Ellpeck
f9c5ea86f7 finished the crafting terminal! 2020-05-09 13:40:46 +02:00
Ellpeck
8bd5a0cae3 fixed single-pipe networks crashing
Closes #10
2020-05-09 13:07:05 +02:00
Ellpeck
172dcc7429 improved network caching 2020-05-09 12:57:25 +02:00
Ellpeck
c21a5ddbb0 fixed network locks not being resolved when a terminal is broken 2020-05-09 12:31:04 +02:00
Ellpeck
88544368eb Revert "network lock equality, for the future"
This reverts commit 58558781
2020-05-09 01:21:16 +02:00
Ellpeck
58558781eb network lock equality, for the future 2020-05-09 01:16:45 +02:00
Ellpeck
ccc981fee3 more crafting terminal work + network locks 2020-05-09 01:00:59 +02:00
Ellpeck
67e7da2b73 crafting terminal base 2020-05-08 22:58:16 +02:00
Ellpeck
0bb8fbaf5c added jei syncing to the terminal 2020-05-08 21:19:32 +02:00
Ellpeck
5632727d04 made player preferences client-sided 2020-05-08 20:56:27 +02:00
Ellpeck
b65a73c77b added a search bar to the item terminal 2020-05-08 16:06:17 +02:00
Ellpeck
e1752bb46d fixed over-sending prevention only working for items of the same type 2020-05-08 15:17:11 +02:00
Ellpeck
320abbe74e generalize item equality to fix some requesting inconsistencies 2020-05-08 02:51:07 +02:00
Ellpeck
5541d5d1a4 finished the item terminal, yay 2020-05-07 23:06:35 +02:00