mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 09:44:24 +00:00
Show which structure piece a dust-inspected block belongs to
Jigsaw pieces record a placement marker only on storage blocks, so the dust called every other piece block "decoration/object/stilt". Where no marker exists, the dust now asks the modules: ObjectsAt.placementAt is a new default API method, and the structure module answers it by assembling the starts within structure reach again and returning the piece whose box holds the block. A lone surface piece takes its height from the terrain when placed, so only its column has to match. The Bukkit and modded dust both print "Placed by: structure '<key>' piece '<object>'", translated in every bundled locale.
This commit is contained in:
1 parent
e9b80420de
commit
f4821f7b0d
29 files changed
+354
-28
No files matched your search
@@ -946,6 +946,7 @@
|
||||
"iris.runtime.dust.none": "none",
|
||||
"iris.runtime.dust.placed_by.object_above": "Placed by: object/stilt '{object}' (above surface)",
|
||||
"iris.runtime.dust.placed_by.decoration_above": "Placed by: decoration/object/stilt (above surface)",
|
||||
"iris.runtime.dust.placed_by.structure_piece": "Placed by: structure '{structure}' piece '{object}'",
|
||||
"iris.runtime.dust.placed_by.buried_object": "Placed by: buried object '{object}'",
|
||||
"iris.runtime.dust.placed_by.terrain": "Placed by: terrain layer (depth {depth} below surface)",
|
||||
"iris.runtime.dust.column_object": "Column object: {object} -> this block is likely that object's stilt",
|
||||
|
||||
Reference in new issue
Block a user