Suggestion Closed · Implemented

Issue with lists in items NBTs

#5280 opened by Unknown 2 years ago

Unknownreported this suggestion

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.

It happens in several versions, I tried Catserver 1.16.5 with the 5.2.0 and last version of paper 1.21 and dev build 5152

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"}]}

Question

There are 2 possible explainations, either I wrote the syntax wrong and then the documentation could be improved with the correct syntax to use when coming to [ ] or there is an issue with lists management when coming to NBTs in items

Unknowncommented

Closing 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.

Unknowncommented

I ran into a very similar issue while testing MythicMobs items across versions, so you’re not alone. Following the docs exactly, the NBT list ends up empty in practice, which makes it feel more like a list-handling bug than a simple syntax mistake. If the syntax is wrong, the documentation really should show a working example for lists. It reminds me of how presentation matters as much as content—like with letrabonitas, where beautiful fonts change how messages are expressed in games and digital spaces. Here, the idea is right, but the implementation or explanation seems to fall short.

Unknowncommented

I’ve been facing the same issue with MythicMobs and NBT list syntax not working as expected—getting empty lists instead of the proper tags. It’s tricky because either the documentation needs clearer examples or there’s a bug in list handling for item NBTs. This reminds me of Instagram where everyone uses the same default font, making profiles feel plain and forgettable. Luckily, tools like igfontsgen.com help fix that by turning normal text into bold, cursive, or cute fonts. Just like clear syntax matters in coding, unique fonts make your Instagram bio stand out easily and for free.

Sign in to join the discussion.