Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicMobs MythicMobs
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicMobsMythicMobs
  • Issues
  • #126

Closed
Open
Created Oct 02, 2020 by Jenner Palacios@JennerPalacios

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:

https://pastebin.com/5p5rpKxu

→ Using the default ExampleMobs.yml

https://pastebin.com/XsAtCUdN

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

Edited Oct 03, 2020 by Jenner Palacios
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking