ItemsAdderAdditionsItemsAdderAdditions
World Generation

World Generation

Spawn custom ItemsAdder furniture during chunk generation.

Since v1.0.8

Two world generation modes let you spawn custom furniture in newly generated chunks. Both are defined directly in your ItemsAdder content YML files.

World PopulatorSurface Decorator
YAML keyblocks_populatorssurface_decorators
Placement styleVein-based (clustered)Surface scatter
Density controlvein_blocks + chunk_veinsamount
Surface config keyreplaceable_blocksbottom_blocks

Use the World Populator for clustered spawns (mushrooms, ore-like groups). Use the Surface Decorator for evenly scattered surface objects (flowers, small rocks).

World Populator

Spawns furniture in vein-style clusters during chunk generation. Uses the blocks_populators key (the legacy key worlds_populators is also accepted).

info:
  namespace: my_pack

blocks_populators:
  big_mushroom:
    enabled: true
    furniture: "my_pack:big_mushroom"
    worlds:
      - world
    biomes:
      - minecraft:dark_forest
    replaceable_blocks:
      - GRASS_BLOCK
      - DIRT
    vein_blocks: 1
    chunk_veins: 3
    chunk_chance: 25.0
    min_height: 60
    max_height: 100
KeyTypeDefaultDescription
enabledbooleantrueSet to false to skip without removing.
furniturenamespace:id(required)The ItemsAdder furniture to spawn.
worldslist(all)World names to restrict to. Supports * wildcard.
biomeslist(all)Biome IDs (e.g. minecraft:forest). All must be valid or the entry is skipped.
replaceable_blockslist(any)Allowed materials for the block directly below the spawn point.
vein_blocksinteger1Furniture pieces per vein attempt.
chunk_veinsinteger4Vein attempts per chunk.
chunk_chancedouble-10-100 chance per chunk. -1 = always.
min_heightinteger60Minimum Y level. Must be less than max_height.
max_heightinteger80Maximum Y level.
allow_liquid_placementbooleanfalseAllow spawning inside water or lava.

Surface Decorator

Scatters furniture across the surface of newly generated terrain. Uses the surface_decorators key.

info:
  namespace: my_pack

surface_decorators:
  small_flower:
    enabled: true
    furniture: "my_pack:small_flower"
    worlds:
      - world
    biomes:
      - minecraft:plains
      - minecraft:sunflower_plains
    bottom_blocks:
      - GRASS_BLOCK
    amount: 4
    chunk_chance: 50.0
    min_height: 60
    max_height: 120
KeyTypeDefaultDescription
enabledbooleantrueSet to false to skip without removing.
furniturenamespace:id(required)The ItemsAdder furniture to spawn.
worldslist(all)World names to restrict to. Supports * wildcard.
biomeslist(all)Biome IDs (e.g. minecraft:plains). All must be valid or the entry is skipped.
bottom_blockslist(any)Allowed materials for the block directly below the spawn point.
amountinteger4Placement attempts per chunk.
chunk_chancedouble-10-100 chance per chunk. -1 = always.
min_heightinteger60Minimum Y level. Must be less than max_height.
max_heightinteger80Maximum Y level.
allow_liquid_surfacebooleanfalseAllow a liquid block below the spawn point as a valid surface.
allow_liquid_placementbooleanfalseAllow spawning inside water or lava.

Notes

  • Only newly generated chunks trigger spawning. Existing chunks are unaffected.
  • The furniture must be registered by ItemsAdder before the entry is loaded.
  • Invalid biome IDs cause the entire entry to be skipped.

On this page