Shortcuts in Minecraft would be great because now you can use "@" for shortcuts. To make one, all you have to do is use what item is it going to use as the item, then use the nbt to configure it. Then you have to put it in the "shortcuts" folder. And you can use the give command to get the item instead.
Like you have to the ".json" file like this:
{
"type": "minecraft:diamond_sword",
"nbt": "{display:{Name:'{"translate":"item.crystal_sword_mod.crystal_sword","color":"light_purple","bold":true,"italic":true,"underlined":false,"strikethrough":false,"obfuscated":false}'},HideFlags:2,Damage:2,CustomModelData:1,Enchantments:[{id:"minecraft:looting",lvl:1s}],AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:1.8,Operation:0,UUID:[I;34585355,407850833,-1830918639,-692746492],Slot:"mainhand"}]}"
}
Now creators could create items just like that, or if I would think of it, I would recommend this instead:
{
"type": "minecraft:diamond_sword",
"nbt": "{display:{Name:'{"translate":"item.crystal_sword_mod.crystal_sword","color":"light_purple","bold":true,"italic":true,"underlined":false,"strikethrough":false,"obfuscated":false}'},HideFlags:2,Damage:2,Enchantments:[{id:"minecraft:looting",lvl:1s}],AttributeModifiers:[{AttributeName:"generic.attack_damage",Name:"generic.attack_damage",Amount:1.8,Operation:0,UUID:[I;34585355,407850833,-1830918639,-692746492],Slot:"mainhand"}]}",
"model": "crystal_sword_mod:item/crystal_sword"
}
Please sign in to leave a comment.
1 Comments