-
Bug
-
Resolution: Invalid
-
None
-
1.17.1
-
None
-
Paper 1.17.1 server.
-
Unconfirmed
-
(Unassigned)
Moving an item in your inventory results in the item losing its CustomModelData nbt tag if it has the AttributeModifiers nbt tag.
Tested using the following:
give @p minecraft:iron_axe{CustomModelData:1b,AttributeModifiers:[{AttributeName:"generic.attack_damage",Slot:"mainhand",Amount:8,Operation:0,UUID:[I;1,0,0,1]},{AttributeName:"generic.attack_speed",Slot:"mainhand",Amount:-3.1,Operation:0,UUID:[I;2,0,0,2]}]} 1
Using the next command it shows the data getting removed after you move it in your inventory.
data get entity @s Inventory[0].tag.CustomModelData