#structure datapack failing to validate

1 messages · Page 1 of 1 (latest)

knotty blade
#

going over this, it seems everything is formatted correctly and yet i am getting this error: > Errors in registry minecraft:root:

Errors in element minecraft:worldgen/structure:
java.lang.IllegalStateException: Unbound values in registry ResourceKey[minecraft:root / minecraft:worldgen/structure]: [biomech_structures:megatruc3]

knotty blade
cunning bay
#

Show how your folders are organized please

knotty blade
#

can you get that from the zip file?

cunning bay
#

😊

EDIT: Apparently the bot message was deleted, but it is a lot easier for us when you can just show us what we need/the relevant files instead of throwing the whole pack at us

knotty blade
#

oh i see

#

the error was somewhat vague in that it was megastruc3 causing issues in the worldgen folder

cunning bay
#

In this case a screenshot of the folders in VSCode will do

knotty blade
#

i can do that

cunning bay
knotty blade
#

mb

#

i'll do that

cunning bay
#

Alright, and can you paste the contents of the structure_set file in here? Put ``` before and after to put it in a code block

knotty blade
#

kk

cunning bay
#

Might as well do the structure json as well

#

And then unrelated but still will become a problem later, your structures folder is misnamed if you're in 1.21 or newer

knotty blade
#

let me show you it as a screen shot first, the application is identifying errors but i'm not sure why

knotty blade
#

now let me get those to you in text form

#

"{
"structures": [
{
"structure": "biomech_structures:megatruc3",
"weight": 2
}
],
"placement": {
"type": "minecraft:random_spread",
"spacing": 50,
"separation": 20,
"salt": 0,
"frequency": 1
}
}"

#

"{
"type": "minecraft:jigsaw",
"biomes": "#minecraft:is_overworld",
"step": "underground_structures",
"terrain_adaptation": "none",
"spawn_overrides": {},
"start_pool": "biomech_structures:megastruc3",
"size": 7,
"start_height": {
"absolute": -10
},
"project_start_to_heightmap": "WORLD_SURFACE_WG",
"max_distance_from_center": 20,
"use_expansion_hack": false
}'

cunning bay
knotty blade
#

i'll try to screenshot it

cunning bay
#

No need

#

I see what's wrong, I'm asking if you can identify what's wrong

knotty blade
#

i see the error but i can't interpret it

cunning bay
#

You're referencing a file called megatruc3, but the structure json file you want to reference is called megastruc3.

cunning bay
# knotty blade

This is the structure json, not the structure set I linked earlier, but you actually have the opposite problem here

knotty blade
#

oh the s

cunning bay
#

Just need to reference your file names correctly 🙂

knotty blade
#

bruh

#

how did i miss that

cunning bay
#

That's why I had you hover over the text

knotty blade
#

thank you for dealing with my incompetence

cunning bay
#

If it can't find a file by the name you've written, it usually means that you're misspelling it or it isn't in the place you say it is

knotty blade
#

kk

#

i'll show you what i was building before i close this

#

not all of it loaded but it still looks cool

#

now i have to figure out how to make it into a jigsaw structure

#

boo hoo

knotty blade
cunning bay
knotty blade
#

thanks

knotty blade
cunning bay
#

As long as it's not longer than 256 blocks, yep

knotty blade
#

are there mods to expand that limit

#

these are megastructures

knotty blade
cunning bay
#

The entire structure

#

As per the guide 😊

cunning bay
#

The limit exists for a reason, trying to generate any larger structures can have serious impacts on performance

knotty blade
cunning bay
#

In 1.20, also 256, or rather, 128 from the center

knotty blade
#

so the max size of an entire jigsaw structure is 256x 256x 256 ?

knotty blade
cunning bay
knotty blade
#

kk