UserGuide AddingSpawns - ProjectZulu/JustAnotherSpawner GitHub Wiki

Spawn rates are determiend by looking in the entity-CFG which are located under JustAnotherSpawner\WorldSettings\<saveName>\ModEntitySettings. The save name is the world name by default, configurable via SaveConfig.CFG (located in JustAnotherSpawner\WorldSettings\). There is one entity-CFG for each mod Entity type (i.e. Vanilla, ProjectZulu, Atmos, etc.). If prefereable, you can use a Universal.CFG for all of them by toggleing the option in the SaveConfig.CFG. This also contains an option to toggle off sortByBiome. Both modes utility is dependent on you editing preference.

SortByBiome = true {
    "ice mountains" {
        S:Bat=0-4-0-4
        S:Blaze=0-4-0-4
        S:CaveSpider=0-4-0-4
    }
    
    deserthills {
        S:Bat=0-4-0-4
        S:Blaze=0-4-0-4
        S:CaveSpider=0-4-0-4
    }
}
SortByBiome = false {
    Bat {
        S:"ice mountains"=0-4-0-4
        S:deserthills=0-4-0-4
    }
    
    Blaze {
        S:"ice mountains"=0-4-0-4
        S:deserthills=0-4-0-4
    }
    
    CaveSpider {
        S:"ice mountains"=0-4-0-4
        S:deserthills=0-4-0-4
    }
}

Note both setups contain the same four digits divided by dashes: "0-4-0-4". The number will vary per entity and per biome. These are from left to right, the SpawnWeight, MinChunkPackSize, MaxChunkPackSize, MaxPassivePackSize. The spawn weight is the relative chance this entity will spawn compared to other entities in the biome. This must be greater than 0 for the entity to spawn. The Entity must also be set to a entity category that is not NONE. See LivingHandler.

As evidenced by their name, the min/max Chunkspawn and max Passive pack size control the relative amount of this entity that will spawn at a given time. For the difference between Chunk and Passive spawning see Spawning101.

⚠️ **GitHub.com Fallback** ⚠️