Pokecube-Development / Pokecube-Issues-and-Wiki

This is where all issues for the core pokecube mods should go, also this is where the main wiki should be maintained
MIT License
30 stars 24 forks source link

Hostile mobs dropping all equipped items upon death when vanilla/non-vanilla pokemobs is enabled. #1202

Open RunicLover opened 4 months ago

RunicLover commented 4 months ago

Issue Description:

When killing any hostile mobs affected by the "vanilla pokemobs" or "non-vanilla pokemobs" features will have a 100% chance to drop any gear they have on. This can severely break things when it comes to dungeon mods/datapacks that add armored mobs into them, filling your inventory with any gear they had equipped very quickly.

What happens:

Killing any hostile mob with any gear equipped drops everything they had equipped upon death when vanilla/non-vanilla pokemobs feature is enabled.

What you expected to happen:

Killing any hostile mob with any gear equipped should follow Minecraft drop logic upon death, even with vanilla/non-vanilla pokemobs feature enabled.

Steps to reproduce:

  1. Kill a mob with full set of armor
  2. All pieces of armor drop
  3. Inventory becomes full very quickly ...

Affected Versions (Do not use "latest"): Replace with a list of all mods you have in.