Is it possible to prevent monsters from spawning in a specific area of a world? I am currently making a survival map and want monsters to be able to spawn throughout the world, but I don't want them in a certain area. I do want animals to spawn in this area, however. I have worldedit, so if there is a way to do this with it, that would work. I made command blocks that would kill certain entities in an area, but that keeps their death animation and particles. I want to keep the biome as plains so that animals can spawn and so that the weather still works in the area.
You could change the biome to a mushroom biome and add passive mob spawners in maybe? That way passive mobs still spawn, and no hostile ones do.. The wiki lists it as a temperate/ lush biome, meaning it'll rain anywhere under the build limit.
The drawbacks of that would be that mooshrooms spawn in those areas and you would be limited to entire chunks, meaning the passive area might not be the specific size you want it to be.
The only other thing I can think of is lighting, like highlyze said.
Mooshrooms should only spawn on mycelium, so they shouldn't be a problem.
Spawning in passive mobs with command blocks instead of spawners might be better for mimicking natural spawning, but it might be easier to use them to get rid of the hostiles.
Is it possible to prevent monsters from spawning in a specific area of a world? I am currently making a survival map and want monsters to be able to spawn throughout the world, but I don't want them in a certain area. I do want animals to spawn in this area, however. I have worldedit, so if there is a way to do this with it, that would work. I made command blocks that would kill certain entities in an area, but that keeps their death animation and particles. I want to keep the biome as plains so that animals can spawn and so that the weather still works in the area.
lights
Or use the command blocks to teleport the mobs into the void.
Out of sight out of mind!
Just testing.
You could change the biome to a mushroom biome and add passive mob spawners in maybe? That way passive mobs still spawn, and no hostile ones do.. The wiki lists it as a temperate/ lush biome, meaning it'll rain anywhere under the build limit.
The drawbacks of that would be that mooshrooms spawn in those areas and you would be limited to entire chunks, meaning the passive area might not be the specific size you want it to be.
The only other thing I can think of is lighting, like highlyze said.
Mooshrooms should only spawn on mycelium, so they shouldn't be a problem.
Spawning in passive mobs with command blocks instead of spawners might be better for mimicking natural spawning, but it might be easier to use them to get rid of the hostiles.
Just testing.
Light it up with torches!
Thank you! I'll try out some of these things. I do want the area to stay dark, so lights wouldn't be an option.