Placed Features
Generated page, edit
scripts/gen_schema_pages.py instead.PKL4MC, Placed feature schema for Minecraft 1.20.1
Usage
amends "@pkl4mc/placed_feature.pkl"Example
amends "@pkl4mc/placed_feature.pkl"
// References the configured_feature by ID - must match your namespace/filename
feature = "examplemod:example_ore"
placement = new Listing {
// 4 attempts per chunk
new CountModifier { count = 4 }
// Spread randomly within the chunk column
new InSquareModifier {}
// Generate between Y -64 and Y 16
new HeightRangeModifier {
height = new UniformHeightProvider {
min_inclusive = new AbsoluteAnchor { absolute = -64 }
max_inclusive = new AbsoluteAnchor { absolute = 16 }
}
}
// Only spawn in biomes that include this placed_feature
new BiomeModifier {}
}