Closed Caishangqi closed 2 years ago
It's not really possible because of how Minecraft stacking works. It doesn't work if NBT tag values are organized in different order or if a single NBT tag is added to an item and not to the other.
The only way to handle this situation is to make sure to get the ItemsAdder+MMOItem merged custom items from ItemsAdder menu/command and not from MMOItem menu/command. This way is the only way to make sure items are 100% equal and stackable.
It's not really possible because of how Minecraft stacking works. It doesn't work if NBT tag values are organized in different order or if a single NBT tag is added to an item and not to the other.
The only way to handle this situation is to make sure to get the ItemsAdder+MMOItem merged custom items from ItemsAdder menu/command and not from MMOItem menu/command. This way is the only way to make sure items are 100% equal and stackable.
Got it, thanks!
I'm very sorry, I wish I had a solution for this bug it's not possible. Have a nice day!
Terms
Discord tag (optional)
Caihuashe#6817
What happened?
By using the tag
I could connect mmoitems item with Itemsadder, and itemsadder would add a nbt tag at the end of the nbt tag. I'd like to make the items generated by mmoitems and itemsadder stack together. I add a custom nbt in mmoitems, and it correctly generated by itemsadder. However, the two items can not stack with the same number of nbts. I had check the individual nbt and found that the display part of nbt was different between the two plugins, which I I think this is the problem.
Here are the two files which I paste the nbts: The nbt generated by Itemsadder: items1 nbt The nbt generated by MMOItems: items2 nbt
In line 23, the
display.lore.data
was shown in different syntaxes between the two files. Besides, I had tried add custom nbt in ItemsAdder Items but it was not work, perhaps the tagmmoitem:
overridden it. Here is the yml file I modified on the custom item. items ymlSteps to reproduce the issue
mmoitem:
in ymlServer version
This server is running Paper version git-Paper-401 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: 5bd2611 on ver/1.17.1) You are 7 version(s) behind Download the new version at: https://papermc.io/downloads Previous version: git-Paper-391 (MC: 1.17.1)
ItemsAdder Version
ItemsAdder version 2.5.1-beta4
ProtocolLib Version
ProtocolLib version 4.8.0-SNAPSHOT-b538
LoneLibs Version
LoneLibs version 1.0.16b
LightAPI Version (optional)
No response
LibsDisguises Version (optional)
No response
FULL server log
No response
Error (optional)
No response
ItemsAdder config.yml
Problematic items yml configuration file (optional)
No response
Other files, you can drag and drop them here to upload. (optional)
No response
Screenshots/Videos (you can drag and drop files or paste links)