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

Stacked Mobs not dropping multiplied drops #913

Open MidasCraftMC opened 6 months ago

MidasCraftMC commented 6 months ago

Minecraft's Version

This server is running Paper version git-Paper-496 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 7ac24a1 on ver/1.20.4) You are running the latest version

Plugin's Version

Version 2023.3-b50

Describe the bug

When mobs are stacked they aren't dropping multiplied drops. they are dropping them just for the one.

When a 'One Hit Tool' is used, it multiplies the drops

To Reproduce

Have stacked mobs and kill with anything but a one hit tool.

Additional Information

Link to the config: https://mclo.gs/owC4ZP2

OmerBenGera commented 6 months ago

According to your config, when entities die, they get unstacked only by one. Therefore, you'll get drops only for one entity. I'd like to try it with your config, however all the tabs are missing. Please re-upload it and send a link to it again.

MidasCraftMC commented 6 months ago

Seems i sent the wrong one.

Only Zombies get stacked on this one

This should work: https://pastebin.com/KAHwxUNW

OmerBenGera commented 6 months ago

I am using your config, as well as latest dev build of WildStacker, and it seems to work fine for me. For testing purposes, I edited the loot-table of zombies to always drop 1 diamond like so:

    {
      "chance": 100,
      "items": [
        {
          "type": "DIAMOND",
          "chance": 100,
          "min": 1,
          "max": 1
        }
      ]
    }

I then killed a stacked zombie, and I received 6 diamonds