BG-Software-LLC / WildStacker

Stacked drops, stacked entities, stacked blocks and stacked spawners in one plugin!
https://bg-software.com/wildstacker/
GNU General Public License v3.0
90 stars 36 forks source link

LevelledMobs stack with different levels and change of level #927

Open mirkocerati opened 4 months ago

mirkocerati commented 4 months ago

Minecraft's Version

Paper 1.20.6-147-ver/1.20.6@e41d44f

Plugin's Version

2024.1-b64

Describe the bug

LevelledMobs get stacked together even if they are different levels. Also, the mob stack gets the level of the last mob added. Example: spawner spawns in order x1 Zombie lvl5, x1 zombie lvl3 and x1 zombie lvl7. I get a mob stack of 3 zombies with level 7 (they all are level 7!)

To Reproduce

Get a mob spawner and install LevelledMobs

Additional Information

I'm currently using LevelledMobs version 4.0.5 b29

OmerBenGera commented 4 months ago

I cannot seem to replicate the issue using their summon command. How do you get a spawner to spawn levelled mobs?

mirkocerati commented 4 months ago

I just give myself a mobspawner with the /give command and an egg Leveled mobs should spawn from mob spawners by default, if not you can enable it in settings.yml under "spawn-reasons"

OmerBenGera commented 4 months ago

I cannot seem to replicate the issue. When spawner spawns different mobs, they won't be stacked as they have different levelled mob levels. However, if a spawner is spawning a stacked entity, then the entire stack gets the level, which is intended (as first WildStacker spawns the stacked entity, only then LevelledMobs changes its level) - is this the issue you talked about?

mirkocerati commented 4 months ago

Yes. Sorry, I thought it was a bug Thank you

OmerBenGera commented 4 months ago

Yes. Sorry, I thought it was a bug Thank you

You can try and disable the spawners-override Hou wont benefit from WS's optimizations, but it should work