Commit Graph

3844 Commits

Author SHA1 Message Date
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
055ca7ec43
Merge branch '1.21' into worldgen-placement-providers 2025-03-24 18:15:05 +07:00
1bb612b07c
Fixes for last commit 2025-03-24 18:14:47 +07:00
ca67e796da
Update boolean provider to use MRegistries 2025-03-24 14:01:32 +07:00
9ee561d0fd
Merge branch '1.21' into worldgen-placement-providers 2025-03-24 13:58:58 +07:00
588b9c1b7c
Put all otm registries in one place 2025-03-24 13:55:36 +07:00
e399fa8b68
Mark Boolean Provider register as internal 2025-03-23 12:34:05 +07:00
d55fbbe62f
Merge branch '1.21' into worldgen-placement-providers 2025-03-23 10:23:05 +07:00
fdfc406ca6
Make exopack slot upgrades be consumed in stacks, to make bulk use way less annoying 2025-03-23 01:48:33 +07:00
16f91343d8
Allow to specify loot table rounds through nbt 2025-03-23 01:23:52 +07:00
3902e60424
BlockLootTableHolder#fill 2025-03-23 01:17:26 +07:00
c778f192b2
Proof-of-concept "Small capsule" loot block 2025-03-22 23:33:28 +07:00
22ebdbb1eb
Rename beforeDroppingItems to dropItems, and change logic 2025-03-22 19:59:48 +07:00
0a9e90bec6
Make matter recycler receive random amount of matter on tick instead of determining total matter received upon job start 2025-03-22 00:49:42 +07:00
b6b3cbed81
Merge branch '1.21' into worldgen-placement-providers 2025-03-22 00:38:45 +07:00
0126d4d976
Don't override nextGaussian, because JVM implementation should be generally faster 2025-03-22 00:30:03 +07:00
ab2cc33b7a
"Smart storage exchange icon" 2025-03-21 21:24:16 +07:00
bfb8f0380a
Panel debug rendering 2025-03-21 21:10:46 +07:00
06f109575d
Fix children not getting re-sorted upon visibility changes 2025-03-21 18:18:07 +07:00
a2d9f43a2e
Fix grid panel layouts, introduce column major order 2025-03-21 18:17:50 +07:00
7c028b1fa6
Im with stupid 2025-03-21 15:11:09 +07:00