Added examples provided by @crovono
This commit is contained in:
22
examples/bp/feature_rules/scatter_feature_placement.json
Normal file
22
examples/bp/feature_rules/scatter_feature_placement.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "scatter_and_singleblock_features:scatter_feature_placement",
|
||||
"places_feature": "scatter_and_singleblock_features:scatter_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
31
examples/bp/features/scatter_feature.json
Normal file
31
examples/bp/features/scatter_feature.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:scatter_feature": {
|
||||
"description": {
|
||||
"identifier": "scatter_and_singleblock_features:scatter_feature"
|
||||
},
|
||||
|
||||
"places_feature": "scatter_and_singleblock_features:scatter_feature_obsidian",
|
||||
|
||||
"scatter_chance": {
|
||||
"numerator": 2,
|
||||
"denominator": 3
|
||||
},
|
||||
"iterations": "math.pow(2, 4)",
|
||||
|
||||
"coordinate_eval_order": "zxy",
|
||||
"project_input_to_floor": true,
|
||||
"z": {
|
||||
"distribution": "fixed_grid",
|
||||
"extent": [10, 15],
|
||||
"step_size": 2,
|
||||
"grid_offset": 3
|
||||
},
|
||||
"x": {
|
||||
"distribution": "gaussian",
|
||||
"extent": ["(v.worldx < 12) * 2", 16]
|
||||
},
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
19
examples/bp/features/scatter_feature_obsidian.json
Normal file
19
examples/bp/features/scatter_feature_obsidian.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "scatter_and_singleblock_features:scatter_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": true,
|
||||
"enforce_survivability_rules": true,
|
||||
"may_replace": ["minecraft:air"],
|
||||
"may_attach_to": {
|
||||
"min_sides_must_attach": 2,
|
||||
"sides": ["minecraft:air"]
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user