Custom Villagers trade with custom NBT items.
Hi, I would like to make a villager trading a netherite sword and 32 netherite ingots for the item given by the following command :
give @p netherite_sword[custom_name=[{"text":"PLAYER SLAYER","bold":true,"italic":false,"color":"#944300","shadow_color":-5632}],lore=[[{"text":"Collector Item","bold":true,"italic":false,"color":"#00eeff"}],[{"text":"Grants +1 kill on the final leaderboards.","italic":false}],[{"text":"When killed while having this item in your inventory, it will be transfered to your killer.","italic":false}],"",[{"text":"Obtained exclusively from the Arena NPC.","italic":false}]],rarity=epic,enchantments={bane_of_arthropods:5,fire_aspect:10,looting:5,sharpness:20,smite:5,sweeping_edge:5},equippable={slot:mainhand,dispensable:0b},unbreakable={}]
Is there anyway to do it ?
I am in 1.21.10.
give @p netherite_sword[custom_name=[{"text":"PLAYER SLAYER","bold":true,"italic":false,"color":"#944300","shadow_color":-5632}],lore=[[{"text":"Collector Item","bold":true,"italic":false,"color":"#00eeff"}],[{"text":"Grants +1 kill on the final leaderboards.","italic":false}],[{"text":"When killed while having this item in your inventory, it will be transfered to your killer.","italic":false}],"",[{"text":"Obtained exclusively from the Arena NPC.","italic":false}]],rarity=epic,enchantments={bane_of_arthropods:5,fire_aspect:10,looting:5,sharpness:20,smite:5,sweeping_edge:5},equippable={slot:mainhand,dispensable:0b},unbreakable={}]
Is there anyway to do it ?
I am in 1.21.10.
Commentaires
*I am a bot, and this action was performed automatically. Please [contact the moderators of this subreddit](/message/compose/?to=/r/Minecraft) if you have any questions or concerns.*
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)