Commit Graph

3694 Commits

Author SHA1 Message Date
d88da8f244
Automation-forbidden slots are now prohibited to be extracted from 2025-03-07 10:15:53 +07:00
bbf4e752e7
Fix (dis)chargeable handler filters not allowing to extract invalid items 2025-03-07 10:14:06 +07:00
f011c1a912
Allow bottler slots to be filtered 2025-03-07 09:38:22 +07:00
e3a11b3b9e
Update menus to use UserFilteredSlot 2025-03-07 09:34:05 +07:00
784930e396
Update AbstractProcessingMachineScreen to properly account for UserFilteredMenuSlot 2025-03-07 09:26:54 +07:00
3e086dcacf
Switch Powered furnaces to SlottedContainer, make them reject items which are not used in any recipe (in automation) 2025-03-07 09:23:26 +07:00
d5e05a2439 loader anim speed 2025-03-07 05:09:51 +05:00
8cd0c23f21 Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-07 04:51:04 +05:00
2d87301ecb Unfinished labs 2025-03-07 04:50:55 +05:00
fbd34f3414
SimpleCache helper function 2025-03-06 22:36:55 +07:00
67fc8f99f6
ooprs!! 2025-03-06 22:30:42 +07:00
06f8d8838a
More efficient pattern storage patternCapacity and storedPatterns implementations 2025-03-06 22:02:09 +07:00
d1a9825ea8
Update Pattern storage to use SlottedContainer 2025-03-06 22:00:41 +07:00
caa8d1bb90
Remove conflicting methods from mattery container 2025-03-06 21:58:50 +07:00
6c42af9f30
Provide stream() method in enhanced container 2025-03-06 21:58:08 +07:00
16d492073b
Merge branch '1.21' into new-container-api 2025-03-06 21:48:48 +07:00
9038003f2f
Fix error in loop logic in Matter scanner 2025-03-06 21:48:38 +07:00
cfd64fac07
Update Matter scanner to use SlottedContainer 2025-03-06 21:48:05 +07:00
8967d3aafa
Make CombinedItemHandler aware that SlottedContainer does not need to be rechecked 2025-03-06 20:41:58 +07:00
e0e1ba864d
Update Matter replicator to use Slotted Container 2025-03-06 20:41:39 +07:00
e8ba5916b1
Update Matter recycler to use Slotted Container 2025-03-06 20:31:28 +07:00
f8e9a67994
Update Matter Reconstructor to use slotted container 2025-03-06 20:00:26 +07:00
bc2cfccffe
Provide direct set operator 2025-03-06 18:22:04 +07:00
a73ad5484d
Merge branch '1.21' into new-container-api 2025-03-06 18:20:40 +07:00
1dd57065c9
Allow to "initialize" xoshiro with zero seed, and provide "raw" initialization 2025-03-06 18:20:26 +07:00
84d4ed78ea
Don't scramble xoshiro on fork since seed is already enough random 2025-03-06 16:49:10 +07:00
7a4ce4f394
Use EnhancedContainer in makeUpgradeSlots 2025-03-06 16:38:20 +07:00
c31549792e
More specific methods in enhanced container interface 2025-03-06 16:37:30 +07:00
5422f0fec8
Merge branch '1.21' into new-container-api 2025-03-06 16:14:41 +07:00
c40f9a2c57
Make lootTable decoding not throw an exception when meeting unexpected data 2025-03-06 16:13:24 +07:00
c376a99da0
Make Upgrade container inherit EnhancedContainer instead 2025-03-06 16:11:37 +07:00
9806e1ec52
Revert "Update Upgrade Container to use SlottedContainer"
This reverts commit 861b94a30a.
2025-03-06 16:06:21 +07:00
de79019f56
Implement EnhancedContainer 2025-03-06 16:06:04 +07:00
bc109e8020 frogs 2025-03-05 17:46:30 +05:00
efbc93e16a
Make IAutomatedContainer implement IItemHandlerModifiable 2025-03-05 19:01:24 +07:00
7efb792353
frigate cargo crate loot fix 2025-03-05 13:10:41 +03:00
861b94a30a
Update Upgrade Container to use SlottedContainer 2025-03-05 16:22:39 +07:00
83d11d531d
Cache recipes in Matter Entangler 2025-03-05 15:23:27 +07:00
45a32dce3c
Merge branch '1.21' into new-container-api 2025-03-05 13:20:27 +07:00
e45e35f0c3
Couldn't handle mushrom that day 2025-03-05 13:20:16 +07:00
3910e38add
Move Matter Entangler to Slotted container 2025-03-05 13:17:57 +07:00
5942ab2126
Implement IEnhancedCraftingContainer 2025-03-05 13:07:39 +07:00
8696d268ad
Make IEnhancedContainer implement StackedContentsCompatible 2025-03-05 13:03:42 +07:00
8aae573110
Merge branch '1.21' into new-container-api 2025-03-05 10:51:52 +07:00
f78336657d Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-05 07:55:04 +05:00
d9680181b1 a 2025-03-05 07:52:57 +05:00
892beddfc6
Merge branch '1.21' into new-container-api 2025-03-05 09:49:31 +07:00
828c80dfd4
Merge branch 'prng' into 1.21 2025-03-05 09:46:13 +07:00
e6365f3bb7
Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-05 09:46:07 +07:00
991314c07b
Use Xoshiro256SSRandom instead of CMWC for OTM provided level random 2025-03-05 09:44:02 +07:00
95f1a304c9
Provide docs for random number generators 2025-03-05 09:43:24 +07:00
b8291c7e1c
Proper Xoshiro256 initialization with 256 bit seed 2025-03-05 09:34:29 +07:00
1a52864c4e
Throw an exception when xoshiro seed is completely zero 2025-03-05 09:31:28 +07:00
f19804dd4a
Provide better random seeds for random number generators 2025-03-05 09:10:23 +07:00
6b7f1fb949 andr oid 2025-03-05 07:08:49 +05:00
49f76c7bdd
Provide Xoshiro256StarStar random 2025-03-05 09:07:01 +07:00
6c087a278d
Don't store seed since it is of no use 2025-03-05 08:38:07 +07:00
e03d9b1a74
Provide LCG64 implementation as separate class 2025-03-05 08:37:43 +07:00
d326e45b32
Initialize carry using lcg instead of modulo divide seed 2025-03-05 08:20:39 +07:00
ffee09ec0f Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-05 05:59:20 +05:00
5956b5d76f a 2025-03-05 05:59:10 +05:00
f5036e6220
unempty 2025-03-05 00:36:54 +03:00
d31922e331
вы мне не доверяете, А Я ВАМ 2025-03-05 00:33:51 +03:00
4187e7818e
тогда уж и типы правильные давайте 2025-03-04 23:57:19 +03:00
43d2abe7e3
а давайте лут таблицы будут работать в ящиках. согласны? 2025-03-04 23:52:57 +03:00
825cbb6731 Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-05 01:36:11 +05:00
94289b9d2c Adjustments 2025-03-05 01:35:59 +05:00
e8222216e0
и масштаб тоже нормально считать надо 2025-03-04 22:41:58 +03:00
18b89b4031
НЕТ НУ ЕСЛИ ТЕПЕРЬ У НАС ЕСТЬ ТАКОЙ ШРИФТ ТО Я БУДУ ЕГО АБУЗИТЬ
и вы мне ничего не сделаете
понятно?
2025-03-04 22:31:24 +03:00
a00225e859
очередная корректировка 2025-03-04 22:19:47 +03:00
ee0a113702
бесконечность не пердел 2025-03-04 21:57:17 +03:00
3a010048ee
да 2025-03-04 21:37:17 +03:00
9417d6ffdc
Use more robust 64-bit LCG for seeding CMWC internal state 2025-03-05 01:03:00 +07:00
1ddeff7a29
Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-05 00:48:39 +07:00
44a1ae3263
Николай Bsky — Сегодня, в 20:10
а можно другой цвет фонта энергии 💀
ибо на полоске энергия чуть более оранжево-желтая
а на фонте зеленовато желтый
2025-03-04 20:14:30 +03:00
fbef1f6f84
маленький шрифт для худа 2025-03-04 20:09:41 +03:00
4eb7971717
Further reduce internal state of CMWC (from 1024 octets / 8192 bits to just 128 octets / 1024 bits) because we don't need these insane periods 2025-03-04 21:06:22 +07:00
257c5edacb
рецепт конфигуратора 2025-03-04 15:20:01 +03:00
93fea6394f
компонент экран + корректировка рецептов
GearShocky — Сегодня, в 14:35
сканер сингулярностей
его кстати переделать нужно
2025-03-04 15:00:12 +03:00
5ea0b64982
конфигуратор для копирования настроек #341 2025-03-04 14:15:04 +03:00
440b7fff2b Falling sun 2025-03-04 06:18:01 +05:00
14e6ee4916
Merge branch '1.21' into new-container-api 2025-03-03 22:29:17 +07:00
5df477feab
Fix grill not marking chunk as dirty when it ticks progress/fuel 2025-03-03 22:29:00 +07:00
b83c9edf13
Delegate List.shuffle extension impl to Minecraft util 2025-03-03 22:22:04 +07:00
fcec612718
Lock CMWC state size to 256 WORDs, improving performance of nextInt() 2025-03-03 22:19:57 +07:00
38923d7978
Fix flywheel battery not marking chunk dirty when energy level changes 2025-03-03 22:17:20 +07:00
d2f119a112
теги структур и карты для картографа 2025-03-03 17:34:39 +03:00
d558252db9
Update Matter Decomposer to use SlottedContainer 2025-03-03 20:14:20 +07:00
7f9af78734
Update MatteryPoweredBlockEntity battery container to use SlottedContainer 2025-03-03 19:55:52 +07:00
d76f2fe015
lol 2025-03-03 19:54:22 +07:00
70bfa114c8
Use IEnhancedContainer in setChanged 2025-03-03 19:47:45 +07:00
a5b96fa4c4
Update bottler to use slotted container 2025-03-03 18:33:24 +07:00
cff5988767
Merge branch '1.21' into new-container-api 2025-03-03 18:03:28 +07:00
362c3bd931
Shuffle entities in vicinity of android charger, so all players around it will get charged more or less equally 2025-03-03 18:01:03 +07:00
866776dc74
YuRaNnNzZZ — Сегодня, в 17:57
но он продолжает меня заряжать
2025-03-03 17:59:50 +07:00
6e7b90a8e8
Move Matter capacitor bank to slotted container 2025-03-03 15:00:30 +07:00
edb3aa657d
Merge branch '1.21' into new-container-api 2025-03-03 14:44:54 +07:00
56cce749f7
Make HFB be correct tool for plants and cobwebs 2025-03-03 13:40:33 +07:00
c96614c7c0
Replace usages of Level#random with OTM provided random (CMWC) 2025-03-03 13:23:06 +07:00
bc2c531e1f
Attach CMWC random to Level class, as alternative random to be used in OTM 2025-03-03 12:20:29 +07:00
32ef2911fa
Implement Complementary Multiply-With-Curry Random 2025-03-03 12:02:42 +07:00
4e653b6544 lang 2025-03-03 05:59:06 +05:00
b585187ae0 Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-03 03:21:08 +05:00
2ee6c7e923 Loader 2025-03-03 03:20:55 +05:00
42b86778cb
Веасол 2025-03-02 05:44:11 +03:00
36a16ac9d2
Trollium 2025-03-01 21:59:10 +03:00
e6bab75bc7
YuRaNnNzZZ — Сегодня, в 20:44
Изображение
а обратно?
2025-03-01 20:58:00 +03:00
80128a01e5 forgot 2025-03-01 19:22:48 +05:00
e1decb67ec Imperfect bread 2025-03-01 19:16:18 +05:00
9d12044db4 Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-01 17:54:34 +05:00
271f594389 yes 2025-03-01 17:54:26 +05:00
9ce2fbf497 withered steel block 2025-03-01 17:53:53 +05:00
6e5e64baeb
Merge branch '1.21' into new-container-api 2025-03-01 19:17:29 +07:00
f655405d4b
[19:15:16] [Worker-Main-10/ERROR] [minecraft/ModelManager]: Failed to load model overdrive_that_matters:models/block/matter_entangler_error.json
com.google.gson.JsonSyntaxException: com.google.gson.stream.MalformedJsonException: Unterminated object at line 3 column 4 path $.parent
2025-03-01 19:17:12 +07:00
3ed935001b
Move Painter to SlottedContainer 2025-03-01 19:16:40 +07:00
49ee0a6a5f eh? 2025-03-01 16:47:42 +05:00
4292713874
Oopsie 2025-03-01 13:26:34 +07:00
1b5476de40
Mark chunk dirty when grill fuel ticks 2025-03-01 12:22:24 +07:00
bf7c9277ee
Update getMaxStackSize in MatteryMenuSlot to use IEnhancedContainer 2025-03-01 12:19:06 +07:00
a6891362d9
Remove no longer needed operator 2025-03-01 12:15:33 +07:00
2b2f78e528
Fix Grill not properly saving cook progress when being deserialized from disk 2025-03-01 12:15:19 +07:00
454783a99a
KOptional codec 2025-03-01 12:11:53 +07:00
d2ff43946e
Update grill to use SlottedContainer 2025-03-01 12:00:33 +07:00
abf74e4a2b
Merge branch '1.21' into new-container-api 2025-03-01 11:28:16 +07:00
8ffb2ce3b1
Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-01 11:13:52 +07:00
0f2c6f0e1e
Fix allowSpectators not being used by filter 2025-03-01 11:13:33 +07:00
d76ddfcd2b Merge remote-tracking branch 'origin/1.21' into 1.21 2025-03-01 03:08:42 +05:00
272cf0f776 I'm schizo 2025-03-01 03:08:10 +05:00
ffdb7f6f8f
Also set furnaceMenuOpenState to false 2025-03-01 00:37:47 +07:00
162a3757e4
Add DeviceControls#dockOnLeft 2025-03-01 00:25:24 +07:00
66a4adecf9
Move Fluid tank to SlottedContainer, and make it accept slot filters 2025-03-01 00:06:07 +07:00
1702f95370
Rename "MatteryMenu" to "MatteryMenuSlot", along with all other slot classes to include "menu" in their name 2025-02-28 22:11:11 +07:00
1d11b9b626
Also unset "ender chest open" state on client 2025-02-28 22:05:47 +07:00
f9b2cef513
⚙ SHOCKY — Сегодня, в 22:00
а можно
эндер сундук
в инвентаре
⚙ SHOCKY — Сегодня, в 22:00
вырубить запоминание вкладки
что-бы предметы не испарялись
в бездну (эндер сундук)
⚙ SHOCKY — Сегодня, в 22:01
это что десинк клиента выходит
или как
что сервер думает что открыт сундук
и шифт клик перекидывает предмет в эндер сундук
а не в хотбар
2025-02-28 22:03:44 +07:00
f79b49d422
Move CargoCrate to SlottedContainer
implement necessary changes to MatteryMenu, MatterySlot and panels
to reflect networking slot filters as part of container state, and not as part of menu slot
2025-02-28 21:57:28 +07:00
b1930bc93d add iron sandwiches to creative menu 2025-02-28 19:20:42 +05:00
30263bf30e
Make CombinedContainer temporarily implement old IMatteryContainer so it no longer crashes 2025-02-28 20:29:20 +07:00
ffdd44357d
Make it compile again so migration can be done incrementally 2025-02-28 20:16:23 +07:00
18252cf800 bread 2025-02-28 17:03:05 +05:00
5e8ab76f49
Update MatteryContainer to fix compilation error 2025-02-28 15:38:37 +07:00
9f6b9ad85b
Some helper functions, split "Filtered" into own subclass with own "Simple" factory 2025-02-28 15:23:08 +07:00
ab1446b682
Move SlottedContainer to subpackage 2025-02-28 09:10:03 +07:00
6764af0dcc
Misc improvements for CombinedContainer 2025-02-28 08:38:09 +07:00
eddb7a1445
КУДА 2025-02-27 22:04:07 +03:00
7ba2e020b7
bread monster entity wip 2025-02-27 22:01:35 +03:00
6747d5f471
Further split ISlottedContainer into IAutomatedContainer 2025-02-27 23:40:29 +07:00
124a1b3db6
Get rid of "slot" and "container" in IContainerSlot since they were bad design choices 2025-02-27 21:55:03 +07:00
a0b04fc1f4
Extracting 'lost' items from SlottedContainer 2025-02-27 21:17:28 +07:00
8a4abb90bd
Forgot to switch IntSortedSet to IntSet 2025-02-27 21:08:00 +07:00
fc1d9d6448
Make SlottedContainerBuilder be embedded inside SlottedContainer 2025-02-27 20:41:56 +07:00