Posted October 15, 20186 yr I've created a custom dimension and added my custom biome into it successfully. The Biome is able to correctly affect the day/night cycle and the water color, yet I am unable to get it to spawn any mobs naturally. As far as I'm aware, the biome is the one handling which mobs get to spawn via the spawnableCreatureList/spawnableMonsterList. I've tried adding entities (My custom demon entity, cows, and enderman) to both lists and neither worked. Any ideas what might be the problem? Custom Biome Class: public class BiomeNightmare extends Biome{ public BiomeNightmare() { super(new BiomeProperties("Nightmare").setBaseBiome("sky").setWaterColor(12255232).setRainDisabled()); topBlock = ModBlocks.NightmareBlock.getDefaultState(); fillerBlock = ModBlocks.NightmareBlock.getDefaultState(); this.spawnableCaveCreatureList.clear(); this.spawnableCreatureList.clear(); this.spawnableMonsterList.clear(); this.spawnableWaterCreatureList.clear(); this.spawnableMonsterList.add(new SpawnListEntry(EntityDemon.class, 10, 4, 4)); } } Edited October 16, 20186 yr by Lumby
October 16, 20186 yr Author Turns out I didn't set the light level of the dimension low enough that hostile mobs can spawn. As soon as I lowered the light level, they started to spawn like crazy
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.