updated the tall deco plants to use the new configured feature
This commit is contained in:
parent
9bc5f4ecf8
commit
92f6032b42
2 changed files with 18 additions and 234 deletions
|
|
@ -3,165 +3,22 @@
|
||||||
"config": {
|
"config": {
|
||||||
"feature": {
|
"feature": {
|
||||||
"feature": {
|
"feature": {
|
||||||
"type": "tfc:if_then",
|
"type": "tfg:tall_decorative_plant",
|
||||||
"config": {
|
"config": {
|
||||||
"if": {
|
"block": "betterend:lanceleaf",
|
||||||
"feature": {
|
"plantHeight": 5,
|
||||||
"type": "minecraft:simple_block",
|
"minHeight": 4,
|
||||||
"config": {
|
"maxHeight": 7,
|
||||||
"to_place": {
|
"middle": 2
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:lanceleaf",
|
|
||||||
"Properties": {
|
|
||||||
"height": "0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": []
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"feature": {
|
|
||||||
"type": "tfc:multiple",
|
|
||||||
"config": {
|
|
||||||
"features": [
|
|
||||||
{
|
|
||||||
"feature": {
|
|
||||||
"type": "minecraft:simple_block",
|
|
||||||
"config": {
|
|
||||||
"to_place": {
|
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:lanceleaf",
|
|
||||||
"Properties": {
|
|
||||||
"height": "1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:random_offset",
|
|
||||||
"xz_spread": 0,
|
|
||||||
"y_spread": 1
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"feature": {
|
|
||||||
"type": "minecraft:simple_block",
|
|
||||||
"config": {
|
|
||||||
"to_place": {
|
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:lanceleaf",
|
|
||||||
"Properties": {
|
|
||||||
"height": "2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:random_offset",
|
|
||||||
"xz_spread": 0,
|
|
||||||
"y_spread": 2
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"feature": {
|
|
||||||
"type": "minecraft:simple_block",
|
|
||||||
"config": {
|
|
||||||
"to_place": {
|
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:lanceleaf",
|
|
||||||
"Properties": {
|
|
||||||
"height": "3"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:random_offset",
|
|
||||||
"xz_spread": 0,
|
|
||||||
"y_spread": 3
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"feature": {
|
|
||||||
"type": "minecraft:simple_block",
|
|
||||||
"config": {
|
|
||||||
"to_place": {
|
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:lanceleaf",
|
|
||||||
"Properties": {
|
|
||||||
"height": "4"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": [
|
|
||||||
{
|
|
||||||
"type": "minecraft:random_offset",
|
|
||||||
"xz_spread": 0,
|
|
||||||
"y_spread": 4
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"placement": [
|
"placement": [
|
||||||
{
|
{
|
||||||
"type": "minecraft:block_predicate_filter",
|
"type": "minecraft:block_predicate_filter",
|
||||||
"predicate": {
|
"predicate": {
|
||||||
"type": "minecraft:all_of",
|
"type": "minecraft:matching_block_tag",
|
||||||
"predicates": [
|
"offset": [ 0, -1, 0 ],
|
||||||
{
|
"tag": "tfg:mars_soil"
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"offset": [ 0, 1, 0 ],
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"offset": [ 0, 2, 0 ],
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"offset": [ 0, 3, 0 ],
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"offset": [ 0, 4, 0 ],
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_block_tag",
|
|
||||||
"offset": [ 0, -1, 0 ],
|
|
||||||
"tag": "tfg:mars_soil"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
|
|
@ -3,95 +3,22 @@
|
||||||
"config": {
|
"config": {
|
||||||
"feature": {
|
"feature": {
|
||||||
"feature": {
|
"feature": {
|
||||||
"type": "tfc:if_then",
|
"type": "tfg:tall_decorative_plant",
|
||||||
"config": {
|
"config": {
|
||||||
"if": {
|
"block": "betterend:large_amaranita_mushroom",
|
||||||
"feature": {
|
"plantHeight": 3,
|
||||||
"type": "minecraft:simple_block",
|
"minHeight": 2,
|
||||||
"config": {
|
"maxHeight": 6,
|
||||||
"to_place": {
|
"middle": 1
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:large_amaranita_mushroom",
|
|
||||||
"Properties": {
|
|
||||||
"height": "0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": []
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"feature": {
|
|
||||||
"type": "tfc:if_then",
|
|
||||||
"config": {
|
|
||||||
"if": {
|
|
||||||
"feature": {
|
|
||||||
"type": "minecraft:simple_block",
|
|
||||||
"config": {
|
|
||||||
"to_place": {
|
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:large_amaranita_mushroom",
|
|
||||||
"Properties": {
|
|
||||||
"height": "1"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": []
|
|
||||||
},
|
|
||||||
"then": {
|
|
||||||
"feature": {
|
|
||||||
"type": "minecraft:simple_block",
|
|
||||||
"config": {
|
|
||||||
"to_place": {
|
|
||||||
"type": "minecraft:simple_state_provider",
|
|
||||||
"state": {
|
|
||||||
"Name": "betterend:large_amaranita_mushroom",
|
|
||||||
"Properties": {
|
|
||||||
"height": "2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"placement": []
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"placement": [
|
"placement": [
|
||||||
{
|
{
|
||||||
"type": "minecraft:block_predicate_filter",
|
"type": "minecraft:block_predicate_filter",
|
||||||
"predicate": {
|
"predicate": {
|
||||||
"type": "minecraft:all_of",
|
"type": "minecraft:matching_block_tag",
|
||||||
"predicates": [
|
"offset": [ 0, -1, 0 ],
|
||||||
{
|
"tag": "tfg:mars_soil"
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"offset": [ 0, 1, 0 ],
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_blocks",
|
|
||||||
"offset": [ 0, 2, 0 ],
|
|
||||||
"blocks": "minecraft:air"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "minecraft:matching_block_tag",
|
|
||||||
"offset": [ 0, -1, 0 ],
|
|
||||||
"tag": "tfg:mars_soil"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue