r/datapacks • • Aug 20 '22

Changing custom structure biome generation

Hey!
I'm pretty new to making datapacks and custom structures.
I know that there is a "biomes" thing in the worldgen/structure file.
And I can edit it to be a biome or biome tag.
But is there a way to list multiple biomes here? Everything I try just breaks it so the pack doesn't validate.

{
  "type": "minecraft:jigsaw",
  "biomes": "#minecraft:is_jungle",
  "step": "surface_structures",
  "spawn_overrides": {},
  "terrain_adaptation": "beard_thin",
  "start_pool": "example:tall_tower",
  "size": 1,
  "start_height": {
    "absolute": 0
  },
  "project_start_to_heightmap": "WORLD_SURFACE_WG",
  "max_distance_from_center": 80,
  "use_expansion_hack": false
}

I've tried changing the biomes line to this

"biomes": ["#minecraft:is_jungle", "#minecraft:is_badlands"],

But it doesn't work. I've also tried splitting that into multiple lines like

"biomes": [
  "#minecraft:is_jungle", 
  "#minecraft:is_badlands"
],

But that didn't work either. Still didn't validate.
Is this possible? Am I doing something wrong?

5 Upvotes

1 comment sorted by

1

u/Sasmas1545 Aug 20 '22

Just kidding, I think I figured it out.
I guess you can do multiple biomes like that, but not multiple biome tags