[BUG] Equiped items not dropping when PreventOtherDrops false
Closed
[BUG] Equiped items not dropping when PreventOtherDrops false
Summary
PreventOtherDrops false has litteraly no effect on equipped items. Mobs which should drop their items with a 100%chance do not drop the item. Example with Drowned when they are holding a nautilus shell. Same behavior happens with zombies or skeletons or any other mobs which has equipped items. They will never drop even though the vanilla behavior should drop them with a chance. It works fine when it comes to non equipped items which should actually drop.
Steps to reproduce Create a Drowned override. Equip it with Nautilus Shell or Trident. Make sure PreventOtherDrops is set to false.
Current behavior
Nautilus shell wont drop...
Intended correct behavior
Nautilus shell should drop with 100%chance.
Proposed fixes Include vanilla behavior for equipped items when PreventOtherDrops is false. Or add an option to make equipped items drop as vanilla would do.
added Bug Completed / Resolved labels
assigned to @ashijin
Tested this for 30 mins now, but it still doesn't seem to work. Vanilla equipped items still do not drop, even when they should have 100% chance of dropping.
Tested with Dorwned and nautilus shells (100% chance of dropping => never drops)
Tested with hundreds of Skeletons (8.5% chance of dropping their bow => never drops)
Edited by kristouffementioned in issue #1488 (closed)
Equipped items still DO NOT drop as they would do according to vanilla rules. ATM only the loottable is dropping. Equipped items are still not affected by PreventOtherDrops:false and do NEVER drop
Edited by kristouffeHere a video of vanilla Drowned => Equipped Nautilus Shells DROP
Here a video of overridden Drowned => Equipped Nautilus Shells DO NOT drop
Same behavior for skeletons and their bow, zombies and their weapons/armor pieces, etc
Edited by kristouffeClosing due to inactivity and major version changes since posting. If this issue is still present, re-open this issue with a modern-version server log, configs used to test and steps to reproduce.
This approach can be handled using conditions and mechanics, such as- dropitem{i=FISHING_ROD} @self ~onDeath ?holding{m=FISHING_ROD}
added Feature Already Exists label