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 141
    • Issues 141
    • 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
  • #1929

Closed
Open
Created May 24, 2025 by AtlasWohlwend@AtlasWohlwend

NBT Lists don't work

Summary

https://git.mythiccraft.io/mythiccraft/MythicMobs/-/wikis/Items/Items Following this documentation on how to create items with NBTs in mythicmob, lists of items are not working properly.

Same issue that was closed: #1682 (closed)

Steps to reproduce

Add an mythicmob item like this:

testItem:
  Id: stick
  Display: '&6Test'
  Lore:
  - '&6Test'
  NBT:
    list:
    - integer: int/427
    - value: string

/mm reload /mm items get testItem /data get entity @e[distance=..5,limit=1,type=item,sort=nearest]

You should get:

Current behavior

When performing /data get entity @e[distance=..5,limit=1,type=item,sort=nearest] We get tag: {list: [ ]}

Intended correct behavior

Instead of tag: {list: [{integer: 427, value: "string"}]}

Proposed fixes

I don't know the exact source or fix. Best guess, there is an error in the code that makes any list blank.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking