Changes

380 bytes added ,  23:27, 14 June 2022
Line 125: Line 125:  
   "biomes": "#minecraft:is_badlands",
 
   "biomes": "#minecraft:is_badlands",
 
   "feature": "yourmod:some_feature"
 
   "feature": "yourmod:some_feature"
 +
}
 +
</syntaxhighlight>
 +
 +
== Side Note on HolderSets ==
 +
 +
HolderSets are a vanilla feature that, when defined in JSON, can be specified as a single id, list of ids, or tag. Our example above uses a holderset of biomes, so all three of these are valid biome fields:
 +
 +
<syntaxhighlight lang="json">
 +
{
 +
  "biomes": "forest",
 +
  "biomes": ["forest", "birch_forest"],
 +
  "biomes": "#is_forest"
 
}
 
}
 
</syntaxhighlight>
 
</syntaxhighlight>
22

edits