Skip to content

Commit

Permalink
Replace inline mangrove features with refs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaskarth committed Oct 7, 2023
1 parent 2dec7ec commit 6a45e64
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 208 deletions.
53 changes: 1 addition & 52 deletions data/lt/behaviors/biodiversity_blitz/trees/black_mangrove.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,58 +25,7 @@
"behaviors": [
{
"type": "ltminigames:place_feature_plant",
"feature": {
"type": "minecraft:tree",
"config": {
"max_water_depth": 0,
"ignore_vines": false,
"heightmap": "OCEAN_FLOOR",
"minimum_size": {
"type": "minecraft:two_layers_feature_size",
"limit": 0,
"lower_size": 0,
"upper_size": 0,
"min_clipped_height": 4
},
"decorators": [
{"count": 2, "spread": 2, "type": "tropicraft:pianguas"}
],
"trunk_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:black_mangrove_log",
"Properties": {"axis": "y"}
}
},
"foliage_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:black_mangrove_leaves",
"Properties": {"persistent": "false", "distance": "7"}
}
},
"dirt_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:dirt"
}
},
"foliage_placer": {
"type": "tropicraft:mangrove",
"radius": 0,
"offset": 0
},
"trunk_placer": {
"type": "tropicraft:mangrove",
"roots_block": "tropicraft:black_mangrove_roots",
"can_generate_raised": false,
"tea_mangrove": true,
"base_height": 5,
"height_rand_a": 1,
"height_rand_b": 0
}
}
},
"feature": "tropicraft:black_mangrove",
"blocks": ["#minecraft:logs", "#minecraft:leaves", "#tropicraft:roots"]
},
{
Expand Down
53 changes: 1 addition & 52 deletions data/lt/behaviors/biodiversity_blitz/trees/red_mangrove.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,58 +25,7 @@
"behaviors": [
{
"type": "ltminigames:place_feature_plant",
"feature": {
"type": "minecraft:tree",
"config": {
"max_water_depth": 0,
"ignore_vines": false,
"heightmap": "OCEAN_FLOOR",
"minimum_size": {
"type": "minecraft:two_layers_feature_size",
"limit": 0,
"lower_size": 0,
"upper_size": 0,
"min_clipped_height": 4
},
"decorators": [
{"count": 2, "spread": 2, "type": "tropicraft:pianguas"}
],
"trunk_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:red_mangrove_log",
"Properties": {"axis": "y"}
}
},
"foliage_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:red_mangrove_leaves",
"Properties": {"persistent": "false", "distance": "7"}
}
},
"dirt_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:dirt"
}
},
"foliage_placer": {
"type": "tropicraft:mangrove",
"radius": 0,
"offset": 0
},
"trunk_placer": {
"type": "tropicraft:mangrove",
"roots_block": "tropicraft:red_mangrove_roots",
"can_generate_raised": false,
"tea_mangrove": true,
"base_height": 5,
"height_rand_a": 1,
"height_rand_b": 0
}
}
},
"feature": "tropicraft:red_mangrove",
"blocks": ["#minecraft:logs", "#minecraft:leaves", "#tropicraft:roots"]
},
{
Expand Down
53 changes: 1 addition & 52 deletions data/lt/behaviors/biodiversity_blitz/trees/tall_mangrove.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,58 +25,7 @@
"behaviors": [
{
"type": "ltminigames:place_feature_plant",
"feature": {
"type": "minecraft:tree",
"config": {
"max_water_depth": 0,
"ignore_vines": false,
"heightmap": "OCEAN_FLOOR",
"minimum_size": {
"type": "minecraft:two_layers_feature_size",
"limit": 0,
"lower_size": 0,
"upper_size": 0,
"min_clipped_height": 4
},
"decorators": [
{"count": 2, "spread": 2, "type": "tropicraft:pianguas"}
],
"trunk_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:light_mangrove_log",
"Properties": {"axis": "y"}
}
},
"foliage_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:tall_mangrove_leaves",
"Properties": {"persistent": "false", "distance": "7"}
}
},
"dirt_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:dirt"
}
},
"foliage_placer": {
"type": "tropicraft:mangrove",
"radius": 0,
"offset": 0
},
"trunk_placer": {
"type": "tropicraft:mangrove",
"roots_block": "tropicraft:light_mangrove_roots",
"can_generate_raised": false,
"tea_mangrove": true,
"base_height": 5,
"height_rand_a": 1,
"height_rand_b": 0
}
}
},
"feature": "tropicraft:tall_mangrove",
"blocks": ["#minecraft:logs", "#minecraft:leaves", "#tropicraft:roots"]
},
{
Expand Down
53 changes: 1 addition & 52 deletions data/lt/behaviors/biodiversity_blitz/trees/tea_mangrove.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,58 +30,7 @@
"behaviors": [
{
"type": "ltminigames:place_feature_plant",
"feature": {
"type": "minecraft:tree",
"config": {
"max_water_depth": 0,
"ignore_vines": false,
"heightmap": "OCEAN_FLOOR",
"minimum_size": {
"type": "minecraft:two_layers_feature_size",
"limit": 0,
"lower_size": 0,
"upper_size": 0,
"min_clipped_height": 4
},
"decorators": [
{"count": 2, "spread": 2, "type": "tropicraft:pianguas"}
],
"trunk_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:light_mangrove_log",
"Properties": {"axis": "y"}
}
},
"foliage_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "tropicraft:tea_mangrove_leaves",
"Properties": {"persistent": "false", "distance": "7"}
}
},
"dirt_provider": {
"type": "minecraft:simple_state_provider",
"state": {
"Name": "minecraft:dirt"
}
},
"foliage_placer": {
"type": "tropicraft:mangrove",
"radius": 0,
"offset": 0
},
"trunk_placer": {
"type": "tropicraft:mangrove",
"roots_block": "tropicraft:light_mangrove_roots",
"can_generate_raised": false,
"tea_mangrove": true,
"base_height": 5,
"height_rand_a": 1,
"height_rand_b": 0
}
}
},
"feature": "tropicraft:tea_mangrove",
"blocks": ["#minecraft:logs", "#minecraft:leaves", "#tropicraft:roots"]
},
{
Expand Down

0 comments on commit 6a45e64

Please sign in to comment.