mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 16:54:04 +00:00
Show the biome that placed an object in dust
An object reaches past the chunk whose centre biome placed it, so dust on a block near a biome edge named the neighbouring biome. Placements now record their owning biome or region, and dust shows it as "Placed from biome: ...". Chunks generated before this change carry no owner and show no such line.
This commit is contained in:
1 parent
e550c5c77b
commit
ecc08197e8
29 files changed
+281
-52
No files matched your search
+2
-2
@@ -294,8 +294,8 @@ if (!outcome.isPlaced()) {
|
||||
- `PlacementTerrain` is the world the placement reads and the host writes into once it commits: heights, blocks,
|
||||
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 and, for a piece of a structure, the
|
||||
structure's id. A module may wrap the terrain to hold or filter writes; a mantle stage gets one for its invocation from
|
||||
`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
|
||||
`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
|
||||
|
||||
Reference in new issue
Block a user