New testing folder
This commit is contained in:
22
test/files/bp/feature_rules/aggregate_feature_placement.json
Normal file
22
test/files/bp/feature_rules/aggregate_feature_placement.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "beards_and_shavers_features:beards_and_shavers_feature_placement",
|
||||
"places_feature": "beards_and_shavers_features:beards_and_shavers_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": "query.heightmap(v.worldx, v.worldz)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "cave_carver_features:cave_carver_feature_placement",
|
||||
"places_feature": "cave_carver_features:cave_carver_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "pregeneration_pass"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "conditional_list_features:conditional_list_feature_placement",
|
||||
"places_feature": "conditional_list_features:conditional_list_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
22
test/files/bp/feature_rules/geode_feature_placement.json
Normal file
22
test/files/bp/feature_rules/geode_feature_placement.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "geode_features:geode_feature_placement",
|
||||
"places_feature": "geode_features:geode_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": "math.mod(math.floor(v.originx / 16), 4) == 0 && math.mod(math.floor(v.originz / 16), 4) == 0",
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "growing_plant_features:growing_plant_feature_placement",
|
||||
"places_feature": "growing_plant_features:growing_plant_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 61
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "hell_cave_carver_features:hell_cave_carver_feature_placement",
|
||||
"places_feature": "hell_cave_carver_features:hell_cave_carver_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "pregeneration_pass"
|
||||
}
|
||||
}
|
||||
}
|
||||
22
test/files/bp/feature_rules/multiface_feature_placement.json
Normal file
22
test/files/bp/feature_rules/multiface_feature_placement.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "multiface_features:multiface_feature_placement",
|
||||
"places_feature": "multiface_features:multiface_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": "query.heightmap(v.worldx, v.worldz)"
|
||||
}
|
||||
}
|
||||
}
|
||||
22
test/files/bp/feature_rules/ore_feature_placement.json
Normal file
22
test/files/bp/feature_rules/ore_feature_placement.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "ore_features:ore_feature_placement",
|
||||
"places_feature": "ore_features:ore_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": { "denominator": 1, "numerator": 1 },
|
||||
"z": 0,
|
||||
"y": "query.heightmap(v.worldx, v.worldz)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "rect_layout_features:rect_layout_feature_placement",
|
||||
"places_feature": "rect_layout_features:rect_layout_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "scan_surface_features:scan_surface_feature_placement",
|
||||
"places_feature": "scan_surface_features:scan_surface_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
22
test/files/bp/feature_rules/scatter_feature_placement.json
Normal file
22
test/files/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
|
||||
}
|
||||
}
|
||||
}
|
||||
22
test/files/bp/feature_rules/search_feature_placement.json
Normal file
22
test/files/bp/feature_rules/search_feature_placement.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "search_features:search_feature_placement",
|
||||
"places_feature": "search_features:search_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 0
|
||||
}
|
||||
}
|
||||
}
|
||||
22
test/files/bp/feature_rules/sequence_feature_placement.json
Normal file
22
test/files/bp/feature_rules/sequence_feature_placement.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "sequence_features:sequence_feature_placement",
|
||||
"places_feature": "sequence_features:sequence_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
23
test/files/bp/feature_rules/tree_feature_placement.json
Normal file
23
test/files/bp/feature_rules/tree_feature_placement.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "tree_features:tree_feature_placement",
|
||||
"places_feature": "tree_features:tree_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
"scatter_chance": 2,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "underwater_cave_carver_features:underwater_cave_carver_feature_placement",
|
||||
"places_feature": "underwater_cave_carver_features:underwater_cave_carver_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "pregeneration_pass"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "vegetation_patch_features:vegetation_patch_feature_placement",
|
||||
"places_feature": "vegetation_patch_features:vegetation_patch_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": "query.heightmap(v.worldx, v.worldz)"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:feature_rules": {
|
||||
"description": {
|
||||
"identifier": "weighted_random_features:weighted_random_feature_placement",
|
||||
"places_feature": "weighted_random_features:weighted_random_feature"
|
||||
},
|
||||
|
||||
"conditions": {
|
||||
"placement_pass": "final_pass"
|
||||
},
|
||||
|
||||
"distribution": {
|
||||
"iterations": 1,
|
||||
|
||||
"x": 0,
|
||||
"z": 0,
|
||||
"y": 90
|
||||
}
|
||||
}
|
||||
}
|
||||
15
test/files/bp/features/aggregate_feature.json
Normal file
15
test/files/bp/features/aggregate_feature.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/aggregate_feature_obsidian.json
Normal file
14
test/files/bp/features/aggregate_feature_obsidian.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/aggregate_feature_planks.json
Normal file
14
test/files/bp/features/aggregate_feature_planks.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:scatter_feature": {
|
||||
"description": {
|
||||
"identifier": "namespace:entity_name"
|
||||
}
|
||||
}
|
||||
}
|
||||
19
test/files/bp/features/beards_and_shavers_feature.json
Normal file
19
test/files/bp/features/beards_and_shavers_feature.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:beards_and_shavers": {
|
||||
"description": {
|
||||
"identifier": "beards_and_shavers_features:beards_and_shavers_feature"
|
||||
},
|
||||
|
||||
"places_feature": "beards_and_shavers_features:beards_and_shavers_feature_obsidian",
|
||||
"y_delta": 0,
|
||||
|
||||
"bounding_box_min": [-4, 0, -4],
|
||||
"bounding_box_max": [5, 12, 5],
|
||||
"beard_raggedness_min": 0.25,
|
||||
"beard_raggedness_max": 0.5,
|
||||
|
||||
"surface_block_type": "minecraft:grass",
|
||||
"subsurface_block_type": "minecraft:dirt"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "beards_and_shavers_features:beards_and_shavers_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
11
test/files/bp/features/cave_carver_feature.json
Normal file
11
test/files/bp/features/cave_carver_feature.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:cave_carver_feature": {
|
||||
"description": {
|
||||
"identifier": "cave_carver_features:cave_carver_feature"
|
||||
},
|
||||
|
||||
"fill_with": "minecraft:cobblestone",
|
||||
"width_modifier": 1
|
||||
}
|
||||
}
|
||||
17
test/files/bp/features/conditional_list_feature.json
Normal file
17
test/files/bp/features/conditional_list_feature.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:conditional_list": {
|
||||
"description": {
|
||||
"identifier": "conditional_list_features:conditional_list_feature"
|
||||
},
|
||||
|
||||
"conditional_features": [
|
||||
{
|
||||
"places_feature": "conditional_list_features:conditional_list_feature_obsidian",
|
||||
"condition": "query.noise(v.originx, v.originz) < 0"
|
||||
}
|
||||
],
|
||||
"early_out_scheme": "placement_success"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "conditional_list_features:conditional_list_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
37
test/files/bp/features/geode_feature.json
Normal file
37
test/files/bp/features/geode_feature.json
Normal file
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:geode_feature": {
|
||||
"description": {
|
||||
"identifier": "geode_features:geode_feature"
|
||||
},
|
||||
|
||||
"max_radius": 80,
|
||||
|
||||
"filler": "minecraft:air",
|
||||
|
||||
"inner_layer": "minecraft:stone",
|
||||
"alternate_inner_layer": "minecraft:cobblestone",
|
||||
"use_alternate_layer0_chance": 0.5,
|
||||
|
||||
"middle_layer": "minecraft:planks",
|
||||
|
||||
"outer_layer": "minecraft:obsidian",
|
||||
|
||||
"inner_placements": ["mincraft:glass"],
|
||||
"placements_require_layer0_alternate": true,
|
||||
"use_potential_placements_chance": 0.125,
|
||||
|
||||
"min_distribution_points": 3,
|
||||
"max_distribution_points": 3,
|
||||
"min_outer_wall_distance": 3,
|
||||
"max_outer_wall_distance": 3,
|
||||
"min_point_offset": 0,
|
||||
"max_point_offset": 0,
|
||||
"noise_multiplier": 0.025,
|
||||
"invalid_blocks_threshold": 10000,
|
||||
|
||||
"crack_point_offset": 0,
|
||||
"generate_crack_chance": 0,
|
||||
"base_crack_size": 0
|
||||
}
|
||||
}
|
||||
26
test/files/bp/features/growing_plant_feature.json
Normal file
26
test/files/bp/features/growing_plant_feature.json
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:growing_plant_feature": {
|
||||
"description": {
|
||||
"identifier": "growing_plant_features:growing_plant_feature"
|
||||
},
|
||||
|
||||
"growth_direction": "up",
|
||||
"height_distribution": [
|
||||
[{"range_min": 8, "range_max": 9}, 1],
|
||||
[6, 1]
|
||||
],
|
||||
"age" : {"range_min": 3, "range_max": 4},
|
||||
|
||||
"body_blocks" : [
|
||||
["minecraft:planks", 4],
|
||||
["minecraft:obsidian", 1]
|
||||
],
|
||||
"head_blocks" : [
|
||||
["minecraft:glass", 4],
|
||||
["minecraft:sand", 1 ]
|
||||
],
|
||||
|
||||
"allow_water": true
|
||||
}
|
||||
}
|
||||
11
test/files/bp/features/hell_cave_carver_feature.json
Normal file
11
test/files/bp/features/hell_cave_carver_feature.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:hell_cave_carver_feature": {
|
||||
"description": {
|
||||
"identifier": "hell_cave_carver_features:hell_cave_carver_feature"
|
||||
},
|
||||
|
||||
"fill_with": "minecraft:planks",
|
||||
"width_modifier": 1
|
||||
}
|
||||
}
|
||||
24
test/files/bp/features/multiface_feature.json
Normal file
24
test/files/bp/features/multiface_feature.json
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:multiface_feature": {
|
||||
"description": {
|
||||
"identifier": "multiface_features:multiface_feature"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:glow_lichen",
|
||||
|
||||
"search_range": 8,
|
||||
"chance_of_spreading": 1,
|
||||
|
||||
"can_place_on_floor": true,
|
||||
"can_place_on_ceiling": true,
|
||||
"can_place_on_wall": true,
|
||||
"can_place_on": [
|
||||
"minecraft:grass",
|
||||
"minecraft:sand",
|
||||
"minecraft:log",
|
||||
"minecraft:log2",
|
||||
"minecraft:leaves"
|
||||
]
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/multiface_feature_obsidian.json
Normal file
14
test/files/bp/features/multiface_feature_obsidian.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "multiface_features:multiface_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
21
test/files/bp/features/ore_feature.json
Normal file
21
test/files/bp/features/ore_feature.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:ore_feature": {
|
||||
"description": {
|
||||
"identifier": "ore_features:ore_feature"
|
||||
},
|
||||
|
||||
"count": 25,
|
||||
"replace_rules": [
|
||||
{
|
||||
"places_block": "minecraft:glass",
|
||||
"may_replace": ["minecraft:air"]
|
||||
},
|
||||
{
|
||||
"places_block": "minecraft:cobblestone",
|
||||
"may_replace": ["minecraft:grass", "minecraft:stone", "minecraft:dirt"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
21
test/files/bp/features/rect_layout_feature.json
Normal file
21
test/files/bp/features/rect_layout_feature.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:rect_layout": {
|
||||
"description": {
|
||||
"identifier": "rect_layout_features:rect_layout_feature"
|
||||
},
|
||||
|
||||
"ratio_of_empty_space": 0.5,
|
||||
"feature_areas":[
|
||||
{
|
||||
"feature": "rect_layout_features:rect_layout_feature_obsidian",
|
||||
"area_dimensions": [1, 1]
|
||||
},
|
||||
{
|
||||
"feature": "rect_layout_features:rect_layout_feature_planks",
|
||||
"area_dimensions": [1, 1]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/rect_layout_feature_obsidian.json
Normal file
14
test/files/bp/features/rect_layout_feature_obsidian.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "rect_layout_features:rect_layout_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/rect_layout_feature_planks.json
Normal file
14
test/files/bp/features/rect_layout_feature_planks.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "rect_layout_features:rect_layout_feature_planks"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:planks",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
11
test/files/bp/features/scan_surface_feature.json
Normal file
11
test/files/bp/features/scan_surface_feature.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:scan_surface": {
|
||||
"description": {
|
||||
"identifier": "scan_surface_features:scan_surface_feature"
|
||||
},
|
||||
|
||||
"scan_surface_feature": "scan_surface_features:scan_surface_feature_obsidian"
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/scan_surface_feature_obsidian.json
Normal file
14
test/files/bp/features/scan_surface_feature_obsidian.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "scan_surface_features:scan_surface_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
31
test/files/bp/features/scatter_feature.json
Normal file
31
test/files/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
test/files/bp/features/scatter_feature_obsidian.json
Normal file
19
test/files/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"]
|
||||
}
|
||||
}
|
||||
}
|
||||
16
test/files/bp/features/search_feature.json
Normal file
16
test/files/bp/features/search_feature.json
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
//The schema is exactly right; floats can be used for volume, but they're truncated as always, so indeed integers are the recommended type.
|
||||
"minecraft:search_feature": {
|
||||
"description": {
|
||||
"identifier": "search_features:search_feature"
|
||||
},
|
||||
"places_feature": "search_features:search_feature_obsidian",
|
||||
"search_volume": {
|
||||
"min": [0, 30, 15],
|
||||
"max": [0, 100, 15]
|
||||
},
|
||||
"search_axis": "-y",
|
||||
"required_successes": 3
|
||||
}
|
||||
}
|
||||
20
test/files/bp/features/search_feature_obsidian.json
Normal file
20
test/files/bp/features/search_feature_obsidian.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "search_features:search_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false,
|
||||
"may_replace": ["minecraft:air"],
|
||||
"may_attach_to": {
|
||||
"top": [
|
||||
"minecraft:air"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/sequence_feature.json
Normal file
14
test/files/bp/features/sequence_feature.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:sequence_feature": {
|
||||
"description": {
|
||||
"identifier": "sequence_features:sequence_feature"
|
||||
},
|
||||
|
||||
"features": [
|
||||
"tree_features:tree_feature",
|
||||
"sequence_features:sequence_feature_planks"
|
||||
]
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/sequence_feature_planks.json
Normal file
14
test/files/bp/features/sequence_feature_planks.json
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
//They're broken: always have been. They don't throw errors, but they don't reposition based on input/output. No errors are thrown, it just doesn't do its job. The schema is correct.
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "sequence_features:sequence_feature_planks"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:planks",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
15
test/files/bp/features/structure_feature.json
Normal file
15
test/files/bp/features/structure_feature.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:structure_template_feature": {
|
||||
"description": {
|
||||
"identifier": "structure_features:structure_feature"
|
||||
},
|
||||
|
||||
"structure_name": "structure_features:structure",
|
||||
|
||||
"facing_direction": "south",
|
||||
"adjustment_radius": 0,
|
||||
|
||||
"constraints": {}
|
||||
}
|
||||
}
|
||||
45
test/files/bp/features/tree_feature.json
Normal file
45
test/files/bp/features/tree_feature.json
Normal file
@@ -0,0 +1,45 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:tree_feature": {
|
||||
"description": {
|
||||
"identifier": "tree_features:tree_feature"
|
||||
},
|
||||
|
||||
"base_block": [
|
||||
"minecraft:dirt",
|
||||
"minecraft:coarse_dirt"
|
||||
],
|
||||
"base_cluster": {
|
||||
"num_clusters": 4,
|
||||
"cluster_radius": 3,
|
||||
"may_replace": ["minecraft:air"]
|
||||
},
|
||||
|
||||
"may_replace": ["minecraft:air"],
|
||||
|
||||
"fancy_trunk": {
|
||||
"trunk_block": "minecraft:log",
|
||||
|
||||
"trunk_height": {
|
||||
"base": 24,
|
||||
"variance": 1,
|
||||
"scale": 1
|
||||
},
|
||||
"trunk_width": 3,
|
||||
"width_scale": 2,
|
||||
|
||||
"foliage_altitude_factor": 0.5,
|
||||
"branches": {
|
||||
"slope": 0.33,
|
||||
"density": 0.25,
|
||||
"min_altitude_factor": 0
|
||||
}
|
||||
},
|
||||
|
||||
"fancy_canopy": {
|
||||
"height": 3,
|
||||
"radius": 4,
|
||||
"leaf_block": "minecraft:leaves"
|
||||
}
|
||||
}
|
||||
}
|
||||
12
test/files/bp/features/underwater_cave_carver_feature.json
Normal file
12
test/files/bp/features/underwater_cave_carver_feature.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"minecraft:underwater_cave_carver_feature": {
|
||||
"description": {
|
||||
"identifier": "underwater_cave_carver_features:underwater_cave_carver_feature"
|
||||
},
|
||||
|
||||
"fill_with": "minecraft:obsidian",
|
||||
"width_modifier": 1,
|
||||
"replace_air_with": "minecraft:leaves"
|
||||
}
|
||||
}
|
||||
29
test/files/bp/features/vegetation_patch_feature.json
Normal file
29
test/files/bp/features/vegetation_patch_feature.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:vegetation_patch_feature": {
|
||||
"description": {
|
||||
"identifier": "vegetation_patch_features:vegetation_patch_feature"
|
||||
},
|
||||
|
||||
"replaceable_blocks": [
|
||||
"minecraft:air",
|
||||
"minecraft:dirt",
|
||||
"minecraft:grass",
|
||||
"minecraft:sand",
|
||||
"minecraft:stone"
|
||||
],
|
||||
"ground_block": "minecraft:planks",
|
||||
"waterlogged": true,
|
||||
|
||||
"surface": "floor",
|
||||
"horizontal_radius": 4,
|
||||
"vertical_range": 5,
|
||||
"depth": 4,
|
||||
"extra_deep_block_chance": 0.5,
|
||||
"extra_edge_column_chance": 0.5,
|
||||
|
||||
"vegetation_feature": "vegetation_patch_features:vegetation_patch_feature_obsidian",
|
||||
"vegetation_chance": 0.125
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "vegetation_patch_features:vegetation_patch_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:fence",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
15
test/files/bp/features/weighted_random_feature.json
Normal file
15
test/files/bp/features/weighted_random_feature.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:weighted_random_feature": {
|
||||
"description": {
|
||||
"identifier": "weighted_random_features:weighted_random_feature"
|
||||
},
|
||||
|
||||
"features": [
|
||||
//The schema says float for weights, but the game truncates it. You should enforce integers.
|
||||
["weighted_random_features:weighted_random_feature_obsidian", 3],
|
||||
["weighted_random_features:weighted_random_feature_planks", 1]
|
||||
]
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/weighted_random_feature_obsidian.json
Normal file
14
test/files/bp/features/weighted_random_feature_obsidian.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
14
test/files/bp/features/weighted_random_feature_planks.json
Normal file
14
test/files/bp/features/weighted_random_feature_planks.json
Normal file
@@ -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
|
||||
}
|
||||
}
|
||||
25
test/files/bp/manifest.json
Normal file
25
test/files/bp/manifest.json
Normal file
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"format_version": 2,
|
||||
|
||||
"metadata": {
|
||||
"authors": [
|
||||
"Christopher Cook"
|
||||
]
|
||||
},
|
||||
|
||||
"header": {
|
||||
"name": "Hell Cave Carver Features",
|
||||
"uuid": "459909b9-fdb8-4eb3-9b8d-55d09545b89d",
|
||||
"description": "Tests hell cave carver features",
|
||||
"version": [1, 0, 0],
|
||||
"min_engine_version": [1, 17, 0]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"type": "data",
|
||||
"description": "Behavior pack for Hell Cave Carver Features",
|
||||
"uuid": "1016f5a1-5eaf-4ccd-8e0c-a4231d7bb308",
|
||||
"version": [1, 0, 0]
|
||||
}
|
||||
]
|
||||
}
|
||||
BIN
test/files/bp/pack_icon.png
Normal file
BIN
test/files/bp/pack_icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 186 B |
Binary file not shown.
Reference in New Issue
Block a user