andersblomqvist / enhanced-mob-spawners

Mod for Minecraft (Fabric). Adding new features to the Spawner
https://www.curseforge.com/minecraft/mc-mods/enhanced-mob-spawners
Creative Commons Zero v1.0 Universal
9 stars 14 forks source link

[Exploit]: Unlimited number of spawns, even with limit set #92

Open LucyKosaki opened 6 months ago

LucyKosaki commented 6 months ago

Steps to Reproduce the Bug

1) Set a limited spawns amount in the config like 10 for example. 2) Have mining spawners with silk touch allowed 3) Put spawn egg into spawner, like cow spawn egg for example 4) Watch the spawn amout go down with every cow spawned 5) When there are only 2-3 spawns left, use pickaxe to mine the spawner 6) Place spawner again and put egg back inside 7) The amount will be at 10 again

This exploit can be used by continously mining and placing spawners to circumvent the spawn limit.

Enhanced Mob Spawner filename

spawnermod-1.20.1-1.9.3+Forge

Other mod filename (Optional)

No response

Extra Notes (Optional)

No response

andersblomqvist commented 6 months ago

Thanks for the issue.

Quickly thinking about this, I can't see any easy solution yet. The problem is that when you mine the spawner and place it again - it's considered a new block, which means the data is lost. I'll have to think more about this.