-
Notifications
You must be signed in to change notification settings - Fork 14
Entity spawn configuration
In Earth2Java any creature can be set on your preferred biome. Based on the mod loader you are using the procedure can be different
You can set the spawn biome of any creature by modifying the file earthtojavamobs.json
in the config folder. Any entity object have a field called spawnBiomes that accept a list of strings. Those strings can be a Biome Identifier or a Biome Category. Both kind of entries can be used together.
Is a string identifying a registered biome. For vanilla biomes it is in the form of minecraft:name_of_the_biome
.
Example
The following example will set the Rainbow Sheep on Plains, Sunflower Plains, Forest, Wooded Hills and Flower Forest biomes.
"rainbowSheep": {
...
"spawnBiomes": [
"minecraft:plains",
"minecraft:sunflower_plains",
"minecraft:forest",
"minecraft:wooded_hills",
"minecraft:flower_forest"
]
},
It define a cateogry for biomes. Using one, or more, of those types will let the creature spawn in any biome, vanilla or modded, marked with that category.
Example
The following config will set the Pink Footed Pig on any biome marked as PLAINS.
"pinkFootedPig": {
...
"spawnBiomes": [
"plains"
]
},
taiga
extreme_hills
jungle
mesa
plains
savanna
icy
the_end
beach
forest
ocean
desert
river
swamp
mushroom
nether
Only Fabric version currently support this feature, Forge version will receive it on the next update and this warning will be removed
Using Biome Category or BiomeDictionary could have the creature to spawn on an unwanted biome. To avoid this you can blacklist the biome for that creature by adding an exclamation mark !
before the biome identifier.
Example
The following config will set the Pink Footed Pig on any biome marked as PLAINS, FOREST, except the Flower Forest.
"pinkFootedPig": {
...
"spawnBiomes": [
"plains",
"forest",
"!minecraft:flower_forest
]
},