Commit graph

308 commits

Author SHA1 Message Date
Ell
1c5a3a118d allow holding Alt to request anyway
Closes #118
2022-03-30 14:26:38 +02:00
Ell
0228932472 hash item stack nbt to avoid going over the packet size limit
Closes #120
2022-03-30 14:16:52 +02:00
Ell
cc55a7b526 Merge remote-tracking branch 'origin/main' 2022-03-04 15:16:01 +01:00
Ell
9da43852dc updated to 1.18.2 2022-03-04 15:15:47 +01:00
Ell
d04dd4054a added some commands to log debug information about pretty pipes and clear invalid caches 2022-02-11 21:56:02 +01:00
Ell
33f4d47889 changed the pipe recipe to require some copper 2022-02-11 21:19:55 +01:00
Ell
bf7760c5fb clear caches more aggressively in an attempt to fix rare caching issues 2022-02-11 21:17:30 +01:00
Ell
d0d0045825 Ported 87ecc7f74e to 1.18 2022-01-24 23:37:27 +01:00
Soni L
92cfb450f0
Add Fabric compat 2022-01-15 15:05:47 -03:00
object-Object
3c1952492f allow typing in search after right click 2022-01-12 16:42:14 -05:00
Ell
8ead508776 fixed item filter population not being visible until the container is reopened
Closes #78
2021-12-28 12:55:11 +01:00
Ell
463e4378bb fixed a dupe glitch when two people are using a crafting terminal
Closes #96
2021-12-28 12:18:52 +01:00
Ell
6a170a1ace fixed crafting modules miscalculating the amount of items they can craft
Closes #111
2021-12-28 12:13:20 +01:00
Ell
bee6f7ef0b fixed some requests not working due to missing NBT data
Closes #108
2021-12-28 12:04:53 +01:00
Ell
bcfd9e7bf9 fixed item names being surrounded by braces 2021-12-28 11:58:37 +01:00
Ell
b34e6d2418 bring back JEI compat 2021-12-19 17:27:21 +01:00
Ell
416e5ced97 Fixed a crafting terminal exception
Closes #103
2021-12-05 19:50:26 +01:00
Ell
87a3c2aed6 fixed items not being placeable into filter slots
Closes #104
2021-12-05 19:41:59 +01:00
Ell
d240e03209 allow searching by item description
Closes #90
2021-12-04 13:35:04 +01:00
Ell
c06097f287 fixed stuff not saving in block entities
Closes #101
2021-12-04 13:07:18 +01:00
Ell
20a69c7ccc last???? fixes 2021-12-02 23:02:58 +01:00
Ell
ae5128971c resolved all todos (untested though oof) 2021-12-02 22:00:00 +01:00
Ell
1d9c22cb0a var 2021-12-02 17:46:56 +01:00
Ell
0df6401c4e IT COMPILES!! 2021-12-02 16:55:04 +01:00
Ell
46320dd889 off to get some food now 2021-12-02 15:25:46 +01:00
Ell
077b09c37d PipeNetwork is error-free! 2021-12-02 14:44:26 +01:00
Ell
b991f8575f the utility class FULLY WORKS WHAT 2021-12-02 12:31:04 +01:00
Ell
d8a1364bcd everything is broken 2021-12-02 11:35:52 +01:00
Ell
b2c69bc67b display an error when connecting a terminal to multiple pipes
Closes #95
2021-09-26 17:05:02 +02:00
danny
405550efe9 -Reordered widget init order in Item Terminal to set search field as first in tab order. (Addresses ##80)
-Clear text from search field on right-click. (Addresses #91)
2021-08-14 23:40:16 -05:00
Ell
ffede60fee maybe don't leave debug code in 2021-06-19 14:50:36 +02:00
Ell
e6e00191f2 unload pipes when chunks get unloaded
Closes #86
2021-06-19 14:48:47 +02:00
Ell
3f79cfb83e improved the tag filter modifier 2021-03-03 01:56:19 +01:00
Ell
4c0862c9ed generify the filter system for the future(tm) 2021-03-03 00:10:24 +01:00
Ell
007d08efa0 I think we finally fixed recursive dependency issues 2021-02-06 00:26:27 +01:00
Ell
240c82c612 possibly fix a dependency chain issue for #71 2021-02-05 18:05:18 +01:00
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
3a0be16891 use tags for crafting recipes
Closes #65
2020-12-07 01:14:15 +01:00
Ell
c88b88eb1c made the module require quartz 2020-12-05 14:32:01 +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
06561fe278 made the terminal recipe a bit cheaper oof 2020-12-04 14:49:29 +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
ccf9a022bd clarify crafting section 2020-11-16 23:18:51 +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
cd1c508b6a
Merge pull request #44 from DrHesperus/patch-1
Update Russian localisation
2020-10-16 22:38:25 +02:00
Ell
aba7738a8a added some more API stuff for Sky <3 2020-10-16 22:36:44 +02:00
Dr_Hesperus
41281af8a8
Update Russian localisation 2020-10-17 01:00:41 +05: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
70c1e82db1 finished the module items themselves 2020-10-15 05:22:23 +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
33262328ed made the pressurizer drop itself
Closes #42
2020-10-14 21:41:45 +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
ee58eb30b3 finished the pipe pressurizer 2020-10-13 18:20:00 +02:00
Ell
5b808d346c pressurizer, part 1 2020-10-13 18:11:40 +02:00
Ell
486d43c5b4
Update mods.toml
that was really.. outdated lol, I think I copied it from something else
2020-10-13 03:17:56 +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
2a8d43bb30 Change stack limiter module recipe from dispenser to dropper
Closes #17
2020-05-17 15:30:47 +02:00
Ellpeck
f2ebe8af90 allow modules in pipes connected to terminals 2020-05-17 15:29:10 +02:00
Ellpeck
57d2326d06 Merge remote-tracking branch 'origin/master' 2020-05-16 14:28:40 +02:00
Ellpeck
b1d18d751d Fixed jei recipe transfer not working on servers
Closes #15
2020-05-16 14:28:25 +02:00
The_BadUser
7946aa57d5
Create ru_ru.json 2020-05-13 15:34:24 +07: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
157c6e4d8c item terminal loot table and also a nice picture for you 2020-05-07 23:28:10 +02:00
Ellpeck
5541d5d1a4 finished the item terminal, yay 2020-05-07 23:06:35 +02:00