#How to place a structure into the ground(y-1) using feature rules

1 messages · Page 1 of 1 (latest)

open furnace
#

Hi, I'm trying to place a custom tree that has a custom grass patch around it(like in the picture)
I tried to mess with grounded{} and query.heightmap(variable.worldx, variable.worldz) with no luck. No matter what number I choose for query.heightmap(variable.worldx, variable.worldz) , the structure is always loaded 1 block above the ground, and I need it to be one block deeper(to blend the grass patch with the existing ones)

#

I could simply remove the grass patch from the structure and include a command block that delete itself into the structure that place the grass patch but I think it's possible with features, I'm just new to this and I'm trying to understand ^^

open furnace
#

Anybody? Please ^^

crimson musk
#

In your structure template feature, you have only let the structure replace air blocks, which is why it won't generate in the ground (look at yourblock_allowlist). Remove the constraints from the structure template feature and the feature rule should allow you to modify the position relative to the heightmap.