#how do i make a structure spawn in caves

1 messages · Page 1 of 1 (latest)

tough spire
#

{
"format_version": "1.17.0",
"minecraft:structure_template_feature": {
"description": {
"identifier": "ao:the_remains"
},
"structure_name": "the_remains",
"adjustment_radius": 0,
"facing_direction": "random",
"constraints": {
"grounded": {},
"block_intersection": {
"block_allowlist": [
"deepslate",
"stone",
"sculk"
]
}
}
}
}

#

That's the feature

#

{
"format_version": "1.17.0",
"minecraft:feature_rules": {
"description": {
"identifier": "ao:the_remains",
"places_feature": "ao:the_remains"
},
"conditions": {
"placement_pass": "first_pass",
"minecraft:biome_filter": {
"any_of": [
{
"test": "has_biome_tag",
"value": "deep"
},
{
"test": "has_biome_tag",
"value": "deep_dark"
}
]
}
},
"distribution": {
"iterations": 1,
"x": {
"distribution": "fixed_grid"
},
"y": {
"grid_offset": 0
},
"z": {
"distribution": "fixed_grid",
"grid_offset": 0
}
}
}
}

#

And that the feature rule

#

Pls some1 help me

wispy void
#

I’m pretty”deep” is supposed to be "after_underground_pass" in the feature rules

#

do you want it to spawn in the surface of the caves or inside?

tough spire
#

in the caves, inside of them

wispy void
#

oh, then replace “deep” with “after_underground_pass” in the feature rule

#

try it and lemme know if it works

tough spire
#

i'm not sure if i got the version of the archive right

#

or is it normal? cuz it doesn't seems to be an option

wispy void
#

oh shoot 😅 I meant the placement pass

#

put it there

tough spire
#

and in the value do i keep "deep"?

frigid portal
#

no

#

i don’t think so

#

check the tags for the cave biomes

wispy void
#

I never put 2 on mine I just have one

#

so ig remove it

tough spire
ocean pelican
tough spire
#

k

#

that should be all?

ocean pelican
wispy void
#

no

ocean pelican
#

test it

wispy void
ocean pelican
wispy void
#

oh really?

#

I didn’t know you could do it without that 💀

#

then yeah everything should work 👍

tough spire
#

how do i make it work?

wispy void
#

what did you put for the “deep” value

tough spire
#

i didn't i changed it to "caves"

wispy void
#

try putting “overworld”

tough spire
#

it still doesn't works

wispy void
#

hmm

wispy void
#

example “minecraft:deepslate”,

tough spire
#

still doesn't works