1

Villager Trading Preloaded map

Jazumes's Avatar Jazumes2/25/20 4:58 pm
1 emeralds 135 2
2/26/2020 3:30 pm
Jazumes's Avatar Jazumes
I'm trying to get a villager to trade a pre-loaded map with an id of 56.


/summon villager ~ ~2 ~ {VillagerData:{profession:cartographer,level:5,type:plains},Invulnerable:1,PersistenceRequired:1,Silent:1,NoAI:1,CustomName:"\"George\"",Offers:{Recipes:[{buy:{id:emerald,Count:1},sell:{id:filled_map{map:56},Count:1,tag:{display:{Name:"\"Library Map\"",Lore:["\"Navigate the library!\""]}}},rewardExp:0b,maxUses:9999999}]}}

The highlighted area gives me an error but it normally works with /give. If someone knows a solution please let me know, also if there is a way to make it so the trade for the map is completely free no item required let me know as well.
Posted by Jazumes's Avatar
Jazumes
Level 15 : Journeyman Miner
4

Create an account or sign in to comment.

2

2
02/26/2020 4:07 am
Level 52 : Grandmaster Blob
HoboMaggot
HoboMaggot's Avatar
Usually when converted into the mob entity format, you need to add a "tag" nbt tag for custom nbt like displaying item names, etc
so: {id:filled_map{tag:{map:56}}
1
02/26/2020 3:30 pm
Level 15 : Journeyman Miner
Jazumes
Jazumes's Avatar
Thank you so much <3
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome