The format of all data-driven JSON configs for entities
Spawn Biomes
/entity/spawn_biome/
Adds entities to the pool of entities that can spawn in given biomes. This setting is meant to mirror the "Goat Spawn Biomes" and "Chameleon Spawn Biomes" settings, but this can technically be used to add any entity to a biome.
Format
{
"required_mods": [
"alexsmobs"
],
// A list of biomes, or biome tags
"biomes": [
"#minecraft:is_mountain"
],
// A list of entities, or entity type tags
"entities": [
"#minecraft:skeletons",
"alexsmobs:bear"
],
// The spawn weight of the entities in the given biomes.
// Higher numbers have a greater chance of spawning
"weight": 5,
// The mob category these entities belong to.
// This determines things like that maximum number of mobs allowed, what blocks they can spawn on, etc.
"category": "creature"
}
Entity Temperature
/entity/entity_temperature/
Allows entities to emit temperature, optionally under certain conditions. This temperature can affect nearby entities or players, as well as (optionally) the target entity itself.
Below is a slightly modified version of the temperature emitted when an entity is on fire:
Format
{
"required_mods": [
// none
],
// . Entity must be on fire
"entity": {
"flags": {
"is_on_fire": true
}
},
// Temperature to emit. This is added to the world temperature of nearby entities
"temperature": 15.0,
// Temperature units to use ("f", "c", "mc")
"units": "f",
// Range of effect (weakens as distance from emitting entity reaches this value)
"range": 6.0,
// Should temperature also increase for emitting entity?
"affects_self": true
}