SpongePowered / Sponge

The SpongeAPI implementation targeting vanilla Minecraft and 3rd party platforms.
MIT License
389 stars 211 forks source link

Spawn limit not work [1.10.2] #1589

Closed HeberonYT closed 6 years ago

HeberonYT commented 6 years ago

I am currently running...

What is the expected result? In the configuration of each world, I am establishing a limit of hostile entities, but when checking it within the game, it seems to have no effect. The same happens with the spawn rate, I have increased it and the generation is the same. Here are the configuration files for the Nether dimension: dimension.conf: https://pastebin.com/raw/AhUYh435 world.conf: https://pastebin.com/raw/GBaj1kGQ

What is the current result? The number of hostile entities should be lower. In the following image I am in a nether dungeon, and I show the amount of entities that are around me, it is always the same amount, between 70 - 75 entities. I want to clarify that there is no other dimension loaded, and only I am connected to the server. screenshot_3

Then I use a clear-lag plugin command, which allows to kill all hostile entities, as shown in the chat. If I do this, the plugin removes 71 entities, and the statistics on the F3 screen coincide with the elimination of all the entities and only 5 remain, I am sure that those 5 entities were generated immediately after entering the command. screenshot_4 This should not happen, since the stable configuration file has a maximum of 40 hostile entities, so that limit has no effect. The same thing happens with tick-rate-monster, increase it to 400, and the speed with which entities are regenerated after eliminating them with Clear-lag, is incredibly fast.

fml-server-latest: https://pastebin.com/raw/2JbiG684

phit commented 6 years ago

you set config-enabled=false in both files.. also mob spawners are not natural spawns so those won't be affected at all

HeberonYT commented 6 years ago

Thanks for the information, now it seems to work.