BiomeTweaker
BiomeTweaker copied to clipboard
forBiomesWithProperty
hi there, thanks for doing this mod! id like to replace cows, pigs, sheeps and chickens with their evil counterpart from abyssalcraft.
i could simply remove all vanilla spawns with forAllBiomes().removeSpawn. sure. but how to add the evil animals only to biomes where good ones spawned before?
i thought to come by with forBiomesWithPropertyRange(String property, int min, int max)
but dont know if i can aim with the string property onto
"Spawnable Creatures": [ { "Entity Class": "net.minecraft.entity.passive.EntitySheep", "Weight": 12, "Min Group Count": 4, "Max Group Count": 4 },
to replace this entity with another class named "com.shinoow.abyssalcraft.common.entity.demon.EntityEvilSheep"
. Could you make an example if there is a way?
This is an interesting suggestion. I'll look into a way to do something like this.