#my structures are cut

1 messages · Page 1 of 1 (latest)

ivory tide
#

i dosn't know why my structure appears cut off

[feature_rules]

{
    "format_version": "1.13.0",
    "minecraft:feature_rules": {
        "description": {
            "identifier": "ken:myboat_feature",
            "places_feature": "ken:myboat_feature"
        },
        "conditions": {
            "placement_pass": "first_pass",
            "minecraft:biome_filter": {
                "test": "has_biome_tag",
                "operator": "==",
                "value": "ocean"
            }
        },
        "distribution": {
            "iterations": 1,
            "x":0,
            "y": 62, 
            "z":0,
            "scatter_chance": {
                "numerator": 1,
                "denominator": 100
            }
        }
    }
}

[features]

{
    "format_version": "1.13.0",
    "minecraft:structure_template_feature": {
        "description": {
            "identifier": "ken:myboat_feature"
        },
        "structure_name": "mystructure:myboat",
        "adjustment_radius": 10,
        "facing_direction": "random",
        "constraints": {
            "block_intersection": {
                "block_allowlist": [
                    "minecraft:water", 
                    "minecraft:air"
                ]
            }
        }
    }
}
ivory tide
#

.

hot flame
#

what is your structure size?

#

the limit is 48x48

ivory tide
ivory tide
#

for my structure

hot flame
ivory tide
#

i have put the structure block in the corner

#

and i have select the complete area of my structure

hot flame
hot flame
#

Before I had a problem with a structure that sometimes was generated cut and sometimes not, I solved it by centering the structure in the chunk thanks to the help that Xorkent gave me

ivory tide
#

oh ok my bad i will try with -13 for X and z

hot flame
#

yes

#

The formula to get that result is the size of your structure divided by 2 and subtract 7 from the result. In this case your structure is 40, we divide it by 2 (20) and make 7 - 20 = -13

ivory tide
#

because my structure is flat

#

and on the ground no

#

so i dont know how to fis this

hot flame
ivory tide
ivory tide
#

but with -21 at the end cuz my structure block was on the down when i saved the structure

hot flame
#

ah thats correct

#

did you add "grounded" on "constraints" in structure feature?

#

that help to localize a good terrain to generate

ivory tide
# hot flame that help to localize a good terrain to generate
{
    "format_version": "1.13.0",
    "minecraft:structure_template_feature": {
        "description": {
            "identifier": "ken:donjon1_feature"
        },
        "structure_name": "mystructure:donjon1",
        "adjustment_radius": 0,
        "facing_direction": "south",
        "constraints": {
    }
  }
}
hot flame
#

add "grounded" insiste of "constraints"

ivory tide
#

i change "contraints" by "grounded"?

#

i never see grounded

hot flame
ivory tide
#

and I put nothing in it?

hot flame
#

no

ivory tide
#

okok il going to try with this

hot flame
#

the amount of structures generated will be reduced since it will first look for the right terrain so that the entire base of the structure is touching the ground

ivory tide
#

okok

#
{
    "format_version": "1.13.0",
    "minecraft:structure_template_feature": {
        "description": {
            "identifier": "ken:donjon1_feature"
        },
        "structure_name": "mystructure:donjon1",
        "adjustment_radius": 0,
        "facing_direction": "south",
        "constraints": {
        "grounded" : {}
    }
  }
}
#

i'll try with this

ivory tide
hot flame
#

yeah

ivory tide
#

ok thank's you

ivory tide
hot flame
ivory tide
#

thank you very much for your help, I find that you explain well and your advice is instructive

ivory tide
hot flame
#

you can prevent cuts from the generations