Skip to content

Conversation

@Nischhelm
Copy link

Spawners set to break on x amounts of deaths (not spawns) can be abused by just letting mobs spawn over time and moving them out of vanilla check range (just falling 6 blocks down).

To prevent this, added an optional cap to count how many mobs were spawned which are still alive.

Doesn't decrement the counter on despawns, but this can be fixed with a mixin into Entity.setDead() via other mod

Updated to Gradle 7.5 and Forge 14.23.5.2860
Spawners set to break on x amounts of deaths can be abused by just letting mobs spawn over time and moving them out of vanilla check range (6 blocks down). Added an optional cap to count how many mobs were spawned that are still alive. Doesn't decrement the counter on despawns, but this can be fixed with a mixin into Entity.setDead() via other mods
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant