Commit Graph

4082 Commits

Author SHA1 Message Date
3fab525345
Merge branch '1.21' into new-container-api 2025-03-26 23:00:26 +07:00
af24f391df
Fix blocks without menu still behaving like being interacted with clientside 2025-03-26 23:00:18 +07:00
10421570be
forgor about gauge updates when container contents changes in matter capacitor bank 2025-03-26 22:51:42 +07:00
4d51ed5210
Optimize battery bank 2025-03-26 22:50:13 +07:00
39a996f79f
Fix matter capacitor bank not marking chunks as dirty 2025-03-26 22:40:44 +07:00
a26840f670
sumOfDecimal 2025-03-26 22:38:27 +07:00
5281a5aeee
Remove jvm overloads from matter capacitor bank menu 2025-03-26 22:38:18 +07:00
750f941525
Optimize matter capacitor bank 2025-03-26 22:38:02 +07:00
7405989b97
Merge branch '1.21' into new-container-api 2025-03-26 22:21:11 +07:00
140bdab59c
Fix swapped out condition checks in nextDecimal 2025-03-26 22:21:02 +07:00
c2f20a76f6
Merge branch '1.21' into new-container-api 2025-03-26 22:14:39 +07:00
a3ed886900
Fix wrong matter recycler receive values 2025-03-26 22:11:37 +07:00
1087e755ff
And now, proper random decimals implementation 2025-03-26 22:09:40 +07:00
c965bcdc82
Move decimal sampling to random utils 2025-03-26 19:36:52 +07:00
5663b262eb
Move random extensions to RandomUtils file 2025-03-26 19:34:22 +07:00
e93c766edb
Move stuff from "Decimal" to appropriate places 2025-03-26 19:16:30 +07:00
85dde24e59
Update energy counter menu code 2025-03-26 19:06:39 +07:00
4fc646a13a
Energy counter "pull" mode 2025-03-26 18:52:26 +07:00
a03c2d5eb4
Remove BlockPosSet since it is not used, twice as slow as regular tree sets and practically dont give much memory savings 2025-03-26 16:00:41 +07:00
7ca0ba1ce5
TreeSet is faster than ObjectRBTreeSet for some reason 2025-03-26 15:58:47 +07:00
7a5a979169
Improve enhanced placed feature performance 2025-03-26 13:15:26 +07:00
e2369b3a24
Unify placement modifier and feature under single "placement" interface, greatly simplifying and empowering things at the same time 2025-03-26 11:03:48 +07:00
2e104dcbce
Create new variable map for each evaluation so leaks wont have lasting effects 2025-03-25 20:38:11 +07:00
159125fb4b
Per-block variable storage in enhanced placement 2025-03-25 18:59:53 +07:00
727111cf4a
Fix blockposset subset forgetting blocks at negative y values 2025-03-25 14:13:19 +07:00
d08a928e04
a 2025-03-25 13:22:29 +07:00
398bd532f4
Remove "inefficinet" comment since placements are now efficiently filtered 2025-03-25 12:26:43 +07:00
7e570747c2
Bring back bigger caches since memory usage now is normal again 2025-03-25 12:25:53 +07:00
d683ea1e38
More efficient ellipsoid placement 2025-03-25 12:16:25 +07:00
f74dbbd84a
Fix level being wrong when placing features in-world 2025-03-25 12:10:28 +07:00
2993ae61ca
man. 2025-03-25 11:52:59 +07:00
9577e205e7
Set last returned index to -1 when removing 2025-03-25 11:52:01 +07:00
ba83b89476
Ooprs!!1 2025-03-25 11:11:23 +07:00
bf6fec7753
Create shared state in EnhancedPlacementContext for memory efficiency 2025-03-25 11:09:47 +07:00
0af5fb7301
Use LinkedList in generated chunk for memory efficiency 2025-03-25 11:09:22 +07:00
a4e40bd464
Provide BlockPosSet for vastly improved memory efficiency 2025-03-25 11:03:35 +07:00
07b295ce45
Add enhanced variants for placement modifiers 2025-03-25 00:07:55 +07:00
ba492e0cee
Merge branch '1.21' into worldgen-placement-providers 2025-03-24 23:34:18 +07:00
ddcfe11780
Caused by: java.lang.NoClassDefFoundError: ru/dbotthepony/mc/otm/android/feature/LimbOverclockingFeature 2025-03-24 23:33:52 +07:00
dca02893a4
Make generation cache expire much quicker 2025-03-24 21:11:59 +07:00
ab6e3ad87f
Use sets only for final placements, use lists for intermediate 2025-03-24 20:16:57 +07:00
78c0a5d717
Fix platform declaration clash 2025-03-24 19:32:18 +07:00
e150b57b65
Add passthrough placement modifier, and add argument-less placed feature builder 2025-03-24 19:30:17 +07:00
1e6e38ea7d
Remove enormous placement 2025-03-24 19:27:36 +07:00
1acd105925
Move tritanium worms to enhanced placed feature 2025-03-24 19:27:03 +07:00
5d05fe3bb4
Use tree set 2025-03-24 19:22:35 +07:00
bc81103e38
Use sets for block positions instead of lists
it makes no sense to give same position twice
2025-03-24 19:07:25 +07:00
18f9bc2654
Enhanced placements prototyping 2025-03-24 18:42:52 +07:00
03a1ab9197
Merge branch '1.21' into worldgen-placement-providers 2025-03-24 18:15:59 +07:00
6226621b95
god damn it 2025-03-24 18:15:53 +07:00