1. Wiki
  2. /World Generation
  3. /minecraft:creature_spawn_probability

minecraft:creature_spawn_probability

Don't want to write this by hand? GodCraft sets minecraft:creature_spawn_probability for you with a switch.Get GodCraft

Overview

minecraft:creature_spawn_probability is a biome component: it goes in the components object of a custom biome. Sets how likely animals are to appear when new land in this biome is first generated.

Fields

FieldTypeDefaultDescription
probabilitynumbernoneChance from 0.0 to 0.75 that animals spawn in a new chunk. Higher means more animals at the start.Range: 0 to 0.75

Example

Inside the components object of BP/biomes/<name>.biome.json (values are the defaults or placeholders):

BP/biomes/<name>.biome.json
{
  "minecraft:creature_spawn_probability": {
    "probability": 0
  }
}

World Generation: Biome components (BP)

We use cookies to improve your experience and analyse site traffic. Learn more