For the complete documentation index, see llms.txt. This page is also available as Markdown.

Holder Sets

Resourceful Bees uses Minecraft/NeoForge holder-set codecs anywhere a field needs to select entries from a registry. In the biome-modifier formats this includes biomes and placed features; the same holder-set concept may also appear with other registry types elsewhere in the mod.

This page is the shared reference for holder-set JSON shapes. Individual biome-modifier pages document which fields use holder sets and any field-specific runtime behavior rather than repeating these forms.

When alwaysUseList is false, the practical authoring forms are:

Single registry entry

Use one registry identifier to select one entry:

"minecraft:plains"

Registry tag

Prefix a registry tag with # to select the entries in that tag:

"#minecraft:is_overworld"

Compact list

An array represents one holder set containing multiple individual registry entries:

[
  "minecraft:plains",
  "minecraft:forest"
]

It is not a list of holder sets. An empty list is codec-valid, though it generally matches nothing.

NeoForge custom holder set

NeoForge may dispatch custom holder-set implementations through an object with a registered type plus type-specific fields:

The Resourceful Bees schemas keep these custom objects extensible because their fields depend on the registered holder-set type.

Biome modifier fields

The current Resourceful Bees biome modifiers use these holder-set forms directly:

Modifier
Field
Registry

Bee Spawn

whitelist

Biome

Bee Spawn

blacklist

Biome

Bee Nest

biomes

Biome

Bee Nest

features

Placed Feature

Each field in this table is one holder set. For example, a bee-spawn whitelist containing plains and forest is:

See Bee Spawns and Bee Nests for the required/default status and runtime semantics of those fields.

Last updated

Was this helpful?