Skip to content

Raid Den Spawning

necro50n3 edited this page Sep 25, 2025 · 7 revisions

Raid Dens are spawned as a Placed Feature (like Trees, Bushes, etc.) and can be configured using a data pack. Raid Dens require sky access to be able to spawn.

Modifying Spawns

You can modify the spawn rate of raid dens by editing this file in a data pack.
data/cobblemonraiddens/worldgen/placed_feature/raid_den_placed.json
{
  "feature": "cobblemonraiddens:raid_den",
  "placement": [
    {
      "type": "minecraft:rarity_filter",
      "chance": 256       // 1 in 256 chance of spawning
    },
    {
      "type": "minecraft:in_square"
    },
    {
      "type": "minecraft:heightmap",
      "heightmap": "MOTION_BLOCKING"
    },
    {
      "type": "minecraft:biome"
    }
  ]
}

Dimensions

Raid den spawns are determined using the biome tag #cobblemonraiddens:raid_spawnable. Due to the aforementioned spawning requirements, raid dens cannot spawn in the Nether or any custom dimension without sky access.
data/cobblemonraiddens/tags/worldgen/biome/raid_spawnable.json
{
  "values": [
    "#minecraft:is_overworld"          // Default is overworld only
  ]
}

Configuration

The default behaviour of raid dens can be configured in the common config. See Configuration. Note that for cycle mode, only newly generated raid dens will reflect the changes made.

Clone this wiki locally