Iron's Spells 'n Spellbooks

Iron's Spells 'n Spellbooks

24M Downloads

How do I prevent Necromancer spawning? (kubejs?)

nathonhay opened this issue ยท 1 comments

commented

Hi, my SMP team wants the Necromancer gone.

Any tips for how I can prevent it and its minions from spawning, whether with KubeJS or another method?

Thanks!

I think we can do this simply with KubeJS mod, but my AI vibe code from below doesn't prevent it from spawning:

{
"type": "neoforge:remove_spawns",
"biomes": "*",
"entity_types": "irons_spellbooks:necromancer"
}

commented

override the necromancer spawn feature with a datapack
https://docs.neoforged.net/docs/worldgen/biomemodifier/#add-features