
Purpose
This mod provides ways to configure mob spawners, to discourage their use in mob farms or to incentivize players to seek and destroy them. It can be used on a forge server with vanilla clients, though you should refrain from using the custom spawners feature when doing so.
Default options
By default, this mod makes spawners break after having spawned 100 mobs.
Configuration
You can however configure it to :
exp = xpDropped + rand(randXpVariation) + rand(randXpVariation)where xpDropped is a constant in the config and rand(randXpVariation) is a random value between 0 and randXpVariation (defined in the config)
Custom Spawners
This mods lets you define custom spawners in its configuration. Those spawners will be dynamically added as new blocks and use their own config. They act exactly the same as the vanilla one but aren't affected by the alterVanillaSpawner config option (nbt works the same as well, anything using vanilla spawners should work with those ones). This allows you as a map maker to use as many spawners as you want, each with its own set of rules. Similar to vanilla spawners, they are by default only obtainable through commands. (their id is spawnercontrol:<name>). You can however enable a creative tab for the mod, in which every custom spawner will appear.
Video demonstrating custom spawners (bad in-game framerate warning) :
Note: Due to Forge's constraints, this mod doesn't work with primitive entities such as items, xp orbs, projectiles... If it looks inert there's a chance spawners of it won't be affected. On the other hand, anything that has an associated working spawn egg is guaranteed to work.
This mod was made on a request by Shivaxi