diff --git a/examples/bp/feature_rules/aggregate_feature_placement.json b/examples/bp/feature_rules/aggregate_feature_placement.json new file mode 100644 index 00000000..a4e4fd74 --- /dev/null +++ b/examples/bp/feature_rules/aggregate_feature_placement.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.13.0", + + "minecraft:feature_rules": { + "description": { + "identifier": "aggregate_features:aggregate_feature_placement", + "places_feature": "aggregate_features:aggregate_feature" + }, + + "conditions": { + "placement_pass": "final_pass" + }, + + "distribution": { + "iterations": 1, + + "x": 0, + "z": 0, + "y": 90 + } + } +} \ No newline at end of file diff --git a/examples/bp/features/aggregate_feature.json b/examples/bp/features/aggregate_feature.json new file mode 100644 index 00000000..ccd0f996 --- /dev/null +++ b/examples/bp/features/aggregate_feature.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.13.0", + + "minecraft:aggregate_feature": { + "description": { + "identifier": "aggregate_features:aggregate_feature" + }, + + "features": [ + "aggregate_features:aggregate_feature_obsidian", + "aggregate_features:aggregate_feature_planks_placement" + ], + "early_out": "first_failure" + } +} \ No newline at end of file diff --git a/examples/bp/features/aggregate_feature_obsidian.json b/examples/bp/features/aggregate_feature_obsidian.json new file mode 100644 index 00000000..5438acf8 --- /dev/null +++ b/examples/bp/features/aggregate_feature_obsidian.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.13.0", + + "minecraft:single_block_feature": { + "description": { + "identifier": "aggregate_features:aggregate_feature_obsidian" + }, + + "places_block": "minecraft:obsidian", + + "enforce_placement_rules": false, + "enforce_survivability_rules": false + } +} \ No newline at end of file diff --git a/examples/bp/features/aggregate_feature_planks.json b/examples/bp/features/aggregate_feature_planks.json new file mode 100644 index 00000000..0d3d573e --- /dev/null +++ b/examples/bp/features/aggregate_feature_planks.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.13.0", + + "minecraft:single_block_feature": { + "description": { + "identifier": "aggregate_features:aggregate_feature_planks" + }, + + "places_block": "minecraft:planks", + + "enforce_placement_rules": false, + "enforce_survivability_rules": false + } +} \ No newline at end of file diff --git a/examples/bp/features/aggregate_feature_planks_placement.json b/examples/bp/features/aggregate_feature_planks_placement.json new file mode 100644 index 00000000..29200fcc --- /dev/null +++ b/examples/bp/features/aggregate_feature_planks_placement.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.13.0", + + "minecraft:scatter_feature": { + "description": { + "identifier": "aggregate_features:aggregate_feature_planks_placement" + }, + + "places_feature": "aggregate_features:aggregate_feature_planks", + + "iterations": 1, + + "x": 0, + "z": 4, + "y": 0 + } +} \ No newline at end of file diff --git a/examples/bp/features/weighted_random_feature_obsidian.json b/examples/bp/features/weighted_random_feature_obsidian.json index 575d5638..5438acf8 100644 --- a/examples/bp/features/weighted_random_feature_obsidian.json +++ b/examples/bp/features/weighted_random_feature_obsidian.json @@ -3,7 +3,7 @@ "minecraft:single_block_feature": { "description": { - "identifier": "weighted_random_features:weighted_random_feature_obsidian" + "identifier": "aggregate_features:aggregate_feature_obsidian" }, "places_block": "minecraft:obsidian", diff --git a/examples/bp/features/weighted_random_feature_planks.json b/examples/bp/features/weighted_random_feature_planks.json index 2f5896de..0d3d573e 100644 --- a/examples/bp/features/weighted_random_feature_planks.json +++ b/examples/bp/features/weighted_random_feature_planks.json @@ -3,7 +3,7 @@ "minecraft:single_block_feature": { "description": { - "identifier": "weighted_random_features:weighted_random_feature_planks" + "identifier": "aggregate_features:aggregate_feature_planks" }, "places_block": "minecraft:planks", diff --git a/examples/bp/manifest.json b/examples/bp/manifest.json new file mode 100644 index 00000000..9aea1b47 --- /dev/null +++ b/examples/bp/manifest.json @@ -0,0 +1,23 @@ +{ + "format_version": 2, + + "metadata": { + "authors": ["Christopher Cook"] + }, + + "header": { + "name": "Aggregate Features", + "uuid": "9f562163-9835-4d63-90a5-558f198088f9", + "description": "Tests aggregate features", + "version": [1, 0, 0], + "min_engine_version": [1, 17, 0] + }, + "modules": [ + { + "type": "data", + "description": "Behavior pack for Aggregate Features", + "uuid": "82df4a01-6431-4d4c-9d20-d62409481ad4", + "version": [1, 0, 0] + } + ] +} diff --git a/examples/bp/pack_icon.png b/examples/bp/pack_icon.png new file mode 100644 index 00000000..49cd1f96 Binary files /dev/null and b/examples/bp/pack_icon.png differ