Commit Graph

3343 Commits

Author SHA1 Message Date
80ff50b937
Nullify excess hunger when eating as android 2025-03-14 17:40:16 +07:00
ca37b4959f
Bring back old behavior where exhaustion is immediately nullified by energy buffer on Androids 2025-03-14 17:36:55 +07:00
5d8f2d5a4a
Add REGENERATE_ENERGY_EFFICIENCY_FOOD and REGENERATE_ENERGY_EFFICIENCY_SATURATION 2025-03-14 12:04:16 +07:00
e06928a4b5
Update mixin signature 2025-03-14 11:24:58 +07:00
d10b1b4ee1
Aeugh 2025-03-14 11:21:08 +07:00
922f94b9de
e 2025-03-14 11:02:08 +07:00
b23bda2f6a
Move android package to player package 2025-03-14 10:54:08 +07:00
c4d5ffefa5
Move all logic regarding food / regeneration to MatteryFoodData 2025-03-14 10:37:54 +07:00
a34b485e68
Base replacement for FoodData 2025-03-14 08:52:36 +07:00
c3b2681e89
Rename AndroidConfig to PlayerConfig 2025-03-12 20:57:57 +07:00
cfd6b101d8
Fix addEatEffect hook 2025-03-12 20:31:59 +07:00
0424dd1944
Rename mattery player reference in coremod 2025-03-12 19:34:26 +07:00
05a081d9cb
Move MatteryPlayer to player subpackage 2025-03-12 19:33:20 +07:00
b68b1d724a
Move IMatteryPlayer as well as shortcuts to player subpackage 2025-03-12 19:28:54 +07:00
a6ba428518
Remove custom random generators except for gjrand64 which is used for worldgen 2025-03-11 16:56:51 +07:00
5a016bef1b
Remove otmRandom 2025-03-11 16:55:55 +07:00
0159931930
Faster otmRandom 2025-03-11 11:39:22 +07:00
6c0265582a
Don't create own random provider if Better Random is present 2025-03-10 20:33:28 +07:00
08ae897c6f
Make Medical Pill provide only Regeneration III for 8 seconds
Because it completely overshadows Enchanted Golden Apples with current state of things
2025-03-09 22:36:55 +07:00
755d15fc0b
Replace PCG32 with GJRAND64 2025-03-09 21:52:21 +07:00
9ffee79687
Provide "no seed" initialization for GJRAND64 2025-03-09 21:49:49 +07:00
3a08552345
private the internal state of positional random 2025-03-09 21:29:43 +07:00
32fe6e754c
Provide GJRAND64RandomSource 2025-03-09 21:26:44 +07:00
436606abf4
Now Bread monster can spawn when thrown as item
And when killed, inert version is dropped
2025-03-09 21:11:42 +07:00
29edf383cd
Use thread local non-cryptographic random for Quantum Battery UUIDs
since they dont need to be cryptographically secure
2025-03-09 20:07:06 +07:00
1a30f4d203
Gold Disk, for spawning in dungeons, add Imperfect Bread to dungeons as Gold Disk 2025-03-09 19:54:03 +07:00
3f677ad353
Update bread item 2025-03-09 18:35:55 +07:00
f1c87ed5ad
Specify effect source as attacker in Wither Steel Sword 2025-03-09 16:22:11 +07:00
df7465a59f
Wither skeleton sword and helmet server config 2025-03-09 16:20:58 +07:00
6f2adfd6d3
Withered Steel Sword fixes 2025-03-09 16:17:27 +07:00
e97967903b
Update WitheredSkeletonSpawnHandler implementation 2025-03-09 16:12:24 +07:00
67ea3b977b
Further improve performance of UpgradeContainer 2025-03-09 16:00:51 +07:00
85aecaf79b
Cache toInt() and toLong() results in Decimal$Regular 2025-03-08 19:23:11 +07:00
7251760800
Try PCG as otm provided random 2025-03-08 17:32:42 +07:00
1ca2348adf
Provide PCG32 wrapper of RandomSource 2025-03-08 17:18:45 +07:00
430bc70c7e
Move PRNG implementation to Kommons
Yurie — Сегодня, в 15:09
вопрос
почему все эти рандомы не в kommons
2025-03-08 16:45:38 +07:00
322d89f2a2
Micro optimization 2025-03-08 14:12:32 +07:00
ebdff6811d
Don't scramble xoshiro on fork since seed is already enough random 2025-03-08 14:11:50 +07:00
f866f2a401
Add "Charge androids" and "Charge exopacks" buttons 2025-03-07 21:00:01 +07:00
4861513797
Delay redstone signal level lookup update by 4 ticks 2025-03-07 17:30:20 +07:00
d19de3facf
Delay cable blockstate update by 4 ticks 2025-03-07 17:29:32 +07:00
9107f63d9d
"Accept wireless charging" button in exopack 2025-03-07 17:26:35 +07:00
f4ade757c3
Revert "Unfinished labs"
This reverts commit 2d87301ecb.
2025-03-07 16:20:59 +07:00
97dcabacd5
Color storage controls as solid white to improve visual clarity 2025-03-07 14:39:29 +07:00
b8e76a0fd4
Make energy cable graph track node + side in lively nodes list, considerably improving performance 2025-03-07 10:45:18 +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
9038003f2f
Fix error in loop logic in Matter scanner 2025-03-06 21:48:38 +07:00
1dd57065c9
Allow to "initialize" xoshiro with zero seed, and provide "raw" initialization 2025-03-06 18:20:26 +07:00
c40f9a2c57
Make lootTable decoding not throw an exception when meeting unexpected data 2025-03-06 16:13:24 +07:00
bc109e8020 frogs 2025-03-05 17:46:30 +05:00
7efb792353
frigate cargo crate loot fix 2025-03-05 13:10:41 +03:00
e45e35f0c3
Couldn't handle mushrom that day 2025-03-05 13:20:16 +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
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
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
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
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
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