Feature/jest2 (#322)
* Adding more tests * adding jest * fixing tests * fixing linting * removing 1 slash less * fixing more tests * fixing last test * more last fixes
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:scatter_feature": {
|
||||
"description": {
|
||||
"identifier": "namespace:entity_name"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
{
|
||||
"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]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
}
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"format_version": "1.13.0",
|
||||
"format_version": "1.13.0",
|
||||
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "scan_surface_features:scan_surface_feature_obsidian"
|
||||
},
|
||||
"minecraft:single_block_feature": {
|
||||
"description": {
|
||||
"identifier": "scan_surface_features:scan_surface_feature_obsidian"
|
||||
},
|
||||
|
||||
"places_block": "minecraft:obsidian",
|
||||
"places_block": "minecraft:obsidian",
|
||||
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
"enforce_placement_rules": false,
|
||||
"enforce_survivability_rules": false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,31 +0,0 @@
|
||||
{
|
||||
"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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user