mirror of
https://github.com/horizon-rust/horizon.git
synced 2026-11-09 10:39:46 -10:00
Decoration: World keeps its own doc comment
OriginWorld was inserted between World's doc comment and World, so the comment documented both structs as one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
a96f66ce1e
commit
dc3fc6961e
1 file changed
+2
-2
@@ -497,8 +497,6 @@ impl Decoration {
|
||||
}
|
||||
}
|
||||
|
||||
/// WorldGenRegion-style view: reads anywhere in the 3×3 region, writes within
|
||||
/// the FEATURES step's write radius, biome lookups through the biome zoom.
|
||||
/// Advances a feature's random stream with no block storage; every write is
|
||||
/// discarded. Placement modifiers still see the real biome and build bounds.
|
||||
struct OriginWorld<'a> {
|
||||
@@ -537,6 +535,8 @@ impl PlacementContext for OriginWorld<'_> {
|
||||
}
|
||||
}
|
||||
|
||||
/// WorldGenRegion-style view: reads anywhere in the 3×3 region, writes within
|
||||
/// the FEATURES step's write radius, biome lookups through the biome zoom.
|
||||
struct World<'a> {
|
||||
block_entities: Vec<([i32; 3], crate::nbt::Compound)>,
|
||||
entities: Vec<crate::nbt::Compound>,
|
||||
|
||||
Reference in new issue
Block a user