ChiriVulpes / soulus

A Minecraft mod. You must sift through the ashes of the dead to restore life to the world.
https://soulus.info
Other
3 stars 3 forks source link

Question: MC spawners #71

Closed wizard1399 closed 5 years ago

wizard1399 commented 5 years ago

In terms of the configs, are mobs that are spawned from the vanilla Minecraft spawner considered "spawn" or "summoned"?

Basically, I am trying to find a way that allows spawning from dungeon spawners, but disables spawning in the rest of the dimension for hostile creatures.

ChiriVulpes commented 5 years ago

Any spawns that happen from sources other than the Summoner are not considered "summoned", and a vanilla spawner is not a Summoner. The reason there are only the two possible sources is there's no real way for me to detect the source of a spawn.

It may be helpful to note that the vanilla spawners are replaced by Summoners by default. You can configure this functionality in the summoner_replacement.json config, and additionally replace only spawners in certain "structures" (only works if the structure is correctly set up), or target by creature type, etc.

A note: Summoners have some limitations that normal spawners don't, they're restricted by mob type, and don't save NBT. So for example, if a vanilla spawner had a zombie with armour, the summoner replacement would just make it a zombie summoner.

wizard1399 commented 5 years ago

Darn, guess I will have to set it up for yes mobs yes drops and use the mod In control to do the nitty gritty work for me.