Drops from mobs - enchanted, attributes
Minecraft 1.16.3
→ Tried in both spigot and paper servers, also in Minecraft 1.16.1
- before I was suggested to use latest version.
Summary ► Describe the bug encountered in detail.
→ Using default settings, aka .jar generated example files, I summoned the SkeletonKing, after killing it, the SkeletonKingSword would not be dropped. I would get different error messages while trying to troubleshoot it such as:
[MythicMobs] ? Config Error for Item 'SkeletonKingSword' in 'ExampleItems.yml': Failed to apply ItemMeta to item
or:
Unable to create attribute: null
or:
[MythicMobs] ? Config Error for Item 'SkeletonKingSword' in 'ExampleItems.yml': Attributes are configured incorrectly
Steps to reproduce
► Provide a full set of steps used to reproduce the bug, including links to SEPARATE Pastebin pastes for each relevant configuration file.
- Download MythicMobs-4.10.1.jar
- Launch server
- Log into server
- Spawn mob using command:
/mm m spawn SkeletonKing
- Kill mob using a sword or with command:
/kill @e[type=wither_skeleton]
- Mob drops custom drops (gold nuggets, diamonds, xp) except the SkeletonKingSword or KingsCrown
Current behavior
► Describe what happens currently, while the bug is affecting your server.
→ The custom item is not dropped, not even a regular Diamond Sword + Lores
SkeletonKingSword:
Id: DIAMOND_SWORD
Amount: 1
Display: '&3Greatsword of the Skeleton King'
Lore:
- '&6A powerful sword used by'
- '&6the King of Skeletons.'
→ Different settings for the sword:
→ Using the default ExampleMobs.yml
Intended correct behavior
► Describe what you think should happen instead of the bug.
→ Custom weapons or armors to be dropped.
Server log file
► Provide a link to a Pastebin paste with a copy of your server's latest.log file from startup to "Done!" AND includes a player connecting.
→ https://pastebin.com/c6yHLygc
Debug log snippet
► Provide a link to a Pastebin paste with an excerpt of your latest.log file that includes debug output where you trigger the bugged behavior.
→ N/A
Proposed fixes
► Describe what you think the issue or any potential fixes may be.
→ Prioritizing functions or parsing order? Item exists, I am able to spawn it with commands; it comes with enchantments, and attributes, but when the mob tries to drop it, it suddenly doesn't exist, doesn't parse the enchantments, attributes, or even a simple item itself as a regular diamond sword with custom lores? and without lores.
NOTES
I have tried giving myself the sword using the command:
/mm i get SkeletonKingSword
I do receive the item, with all its properties (enchantments and attributes, effects)
So, somewhere along the line when the mob dies and tries to drop the item, information gets lost or not parse correctly, not even a regular diamond sword, unless it is inside the ExampleDropTables.yml