I am making an adventure map, and I used a command that gives you an iron pickaxe:

/give @s minecraft:iron_pickaxe 1 0 {display:{LocName:"Wallet Squeezer"},CanDestroy:{["ender_chest"]},ench:{[id:33,lvl:1]}}

I used it on a ender chest called "Wallet":

/give @s minecraft:ender_chest 1 0 {display:{LocName:"Wallet"}}

When I tested it, everything worked until I broke it with the pick. I picked it up and the name of the Ender Chest was just... Ender Chest.

Is there any way to fix this?

  • What version of Minecraft are you playing? Always specify this if you're not using the latest version. Neither that /give syntax, nor LocName exist in the current version. – Fabian Röling Aug 4 at 10:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.