Show the biome that placed a structure in dust

Structures start from their origin chunk's biome, cave biome, region or
dimension, then reach into neighbouring biomes. Dust on a structure piece
now names that owner, found from the structure plan, so it works on chunks
generated before this change too. Chest markers that structures record
carry the owner as well, and a placement can now be owned by the dimension.
This commit is contained in:
piexel committed 2026-11-12 17:29:31 +01:00
1 parent ecc08197e8
commit 573e631bb8
32 files changed
+176 -48

No files matched your search

+1 -1
View File
@@ -295,7 +295,7 @@ if (!outcome.isPlaced()) {
carved space, fluid, the structures nearby and the placement recorded at a block (`recordPlacement`, `placementAt`;
`RunningWorld.placementAt` reads it back later, such as for the loot of a placed object). A recorded placement is a
`PlacementRecord`: the object's id, the module's number for this placement of it, for a piece of a structure the
structure's id, and the `PlacementOwner`, the biome or region whose settings placed it. A module may wrap the terrain to hold or filter writes; a mantle stage gets one for its invocation from
structure's id, and the `PlacementOwner`, the biome, region or dimension whose settings placed it. A module may wrap the terrain to hold or filter writes; a mantle stage gets one for its invocation from
`MantleGenerationContext.placementTerrain()`.
- `clearBlock(x, y, z)` takes a block a placement wrote back, so the terrain shows through; the block entity, placement
record and markers kept beside it stay until `clearAttached(x, y, z)` takes them back, whether or not a block is still