I am on Minecraft pocket edition version 1.2.10.1, and am trying to use the following command:   /give @p stone_pickaxe 1 0 {display:{Name:"The Stone Breaker"},Unbreakable:"1"}  When trying to use this command, it returns Line 1 Column 2 Missing '}' or object member name. Could someone point out what is wrong with my command?
5717
This question was recently split into different questions for each workaround. See   meta posts for more information.   Can you use NBT tags in commands? I’ve tried commands that normally work in Java Edition like: give @s minecraft:planks 30 1 {display:{Lore:[&quot;Wooden planks&quot;]}} give @s stone_pickaxe{Unbreakable:1b} give @s item_frame{EntityTag:{Invisible:1b}} summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:&quot;emerald&quot;,Count:5b},sell:{id:&quot;diamond_sword&quot;}}]}} summon tnt ~ ~ ~ {Fuse:20s}
26453
I'm trying to setblock a command block with variable data in it. I want to make a variable sized array with an armor stand, and read a custom tag at a variable position. This position should be stored in a scoreboard as well.    Further information:     Minecraft version 1.13.2   Singleplayer mode   I've already tried this command:    /setblock ~ ~2 ~ minecraft:command_block{Command:{"text":"execute store result score posN replay run data get entity highfrequent Pos["},{"score":{"name":"#this","objective":"replay"}},{"text":"]"}} replace   But it doesn't work. It couldn't place the block, and I think I did something wrong with the JSON syntax.    My objective is to have an array which I can read at a variable position.  If anybody has an idea of how to do this, I would be glad to hear it.
33824
In Minecraft, the NBT (Named Binary Tag) format is used to store data of our Minecraft worlds, including block, entity, and item properties. In the Java Edition of Minecraft, you can modify this data by including the data in the command, like so: /give @s diamond_sword{Enchantments:[{id:&quot;minecraft:knockback&quot;,lvl:10s}]}  In the Bedrock Edition, on the other hand, NBT is inaccessible from commands. In order to modify NBT, we need to use an external editor. What are some useful item properties that I can modify with an NBT editor, and how can I do so?  Related:
17186
like the title says, I'm looking for a way to display a player name in a /tellraw command which is run by a command block. Example:  /tellraw @a {"text":"","extra":[{"text":"A player has won the game!","color":"blue"}]}   And the output is something like this:  A player has won the game!   But I want the output to be something like  JasonSPQR has won the game!   Using the @p parameter
44249
I crafted my first silver pickaxe in Terraria 1.1. I did not examine its stats until some time later. The name color is grey with -14% damage.  I have no problem mining with it but killing monsters especially cave bats (which I have been doing a lot) got weaker.  Can anyone give an insight into why this happened? I am split between weapon degradation and crafting fluke.
25171
I'm messing around with command blocks, and I'm wanting to try and make an XP vending machine. My idea is if you click a button with a Diamond in your hand, 1 diamond gets removed and you get x amount of XP.  Is this possible using command blocks? If so, what commands would I need to look at? I already know /xp myAmount @p, it's just the checking/removing of items I can't seem to get.
48931
I was trying to use the command /scoreboard players test @p Objective 1 in 1.14.2, but it seems like 1.14 has changed every command in Minecraft. I need help finding a replacement for this command.  I want to explain why this question is unique. For the first, the example of a possible duplicate of my question is not the same because I asked about scoreboard commands and not to check blocks, and I want to quote this comment:     MBraedley: Same answer does not make for the same question, so I would   not close this question as dupe (at least to the proposed target).   Even though I don't think its the exact same answer, because the only same thing about the answer was /execute if and the continued answer was score player objective matches 1, and my point with this answer was that you can't use /scoreboard players test objective 1\ anymore, and if you want to test a score, you have to use the answer I provided, or at least if you want an exact replacement for the command I mentioned in my question.  Since Minecraft 1.13 &amp; 1.14 they have reworked many or maybe nearly all the commands in Minecraft, and for me, and for a lot of people, this has been very confusing, and I have had to learn much of the commands over again, or adjusting my commands.
37832
I'm trying to make a sign that you can right click and it will clear cacti from your inventory, then give you 18 cookies named "$100 Cookie" with the lore "$100". But when I put it in a command block and power it, the command block says this:     [04:23:51] Data tag parsing failed: Unexpected token '$' at: $100 Cookie\",Lore:[$100]}}\"}}",Text3:"{\"text\":\"iIiIiIi\",\"color\":\"light_purple\",\"strikethrough\":true,\"obfuscated\":true}",Text4:"{\"text\":\"[Sell]\",\"color\":\"dark_purple\",\"bold\":true}"   The command I'm using is:  /give @p sign 1 0 {BlockEntityTag:{Text1:"{\"text\":\"[Sell]\",\"color\":\"dark_purple\",\"bold\":true,\"clickEvent\":{\"action\":\"run_command\",\"value\":\"clear @p[name=rainbowlack,r=3] cactus 0 2304\"}}",Text2:"{\"text\":\"2304 Cacti\",\"color\":\"red\",\"clickEvent\":{\"action\":\"run_command\",\"value\":\"give @p[name=rainbowlack,r=3] minecraft:cookie 18 0 {display:{Name:\"$100 Cookie\",Lore:[$100]}}\"}}",Text3:"{\"text\":\"iIiIiIi\",\"color\":\"light_purple\",\"strikethrough\":true,\"obfuscated\":true}",Text4:"{\"text\":\"[Sell]\",\"color\":\"dark_purple\",\"bold\":true}"},display:{Name:"Custom Sign"}}   What's wrong with this command? I've tried backslashes and stuff. Can you please try to fix the command and test out your potential fix in-game? Thank you!  You'll have to change the [name=rainbowlack,r=3] parts to whatever your username is (example: [name=playerplayer123,r=3]).
81820
I'm trying to make a .desktop file for Minecraft. Nothing appears to happen upon executing the file. I've tried assigning the Exec key as follows:  Exec= java -jar "~/.minecraft/Minecraft.jar"  Exec= java -jar "$HOME/.minecraft/Minecraft.jar"  But I'm not sure how to put in the reserved characters (~ and $) correctly. According to Freedesktop's :      If an argument contains a reserved character the argument must be quoted.   and     Quoting must be done by enclosing the argument between double quotes and escaping the double quote character, backtick character ("`"), dollar sign ("$") and backslash character ("\") by preceding it with an additional backslash character. Implementations must undo quoting before expanding field codes and before passing the argument to the executable program.   But that's very confusing to me.
6827
Okay, so I've been searching all over the internet for an explanation of data modify ever since I heard Sethbling passively mention it in one of his videos. The only  thing I could find on it was the wiki and the update log for the 1.14 snapshot. So, I checked these, and they hardly explained it at all. I can get /data modify block 123 20 123... and that's as far as I get.  Minecraft wiki does not at all define clearly what  is (the thing meant to go after coords), nor does it specify what each operation does to what. Operations include (without explanation, and excluding set (which it does explain)): append, insert, merge, and prepend. Then, it has from|value as the next option, which aren't explained either. After this, it just has block/entity and coords/id. So, I know the format (mostly), but I haven't the slightest idea what any of it means. And nothing I've seen on the internet even mentions the command save for Minecraft wiki itself.  Please explain if you know what data modify is. Thanks!
120608
I am creating a type of adventure map. Once you enter the map, you step on some pressure plates that are supposed to seamlessly close the wall behind you. For some reason this command does not work when in a command block or just in text. Here is the command:  /fill -17 4 -109 -18 5 109 minecraft:light_gray_concrete   The output it gives me is "That position is not loaded". I am on a singleplayer superflat world in 1.14.3. Any help would be very appreciated!
87292
This is the command I entered in the command block: testfor @p {Inventory:[{id:minecraft:diamond,Count:10}]}  But it doesn't seem to work. What am I doing wrong?
90370
What is wrong with this command? It says it has a problem with value separators, but i can't find it  /summon ArmorStand ~ ~ ~10 {ShowArms:1,NoBasePlate:1,Pose:{LeftArm:[0f,0f0f],RightArm:[0f,0f,0f],Body:[0f,0f,0f],LeftLeg:[0f,0f,0f],RightLeg:[0f,0f,0f],Head:[0f,0f,0f]},ArmorItems:{id:diamond_boots,ench:[{id:protection,lvl:1000},{id:blast_protection,lvl:1000},{id:thorns,lvl:1000},{id:unbreaking,lvl:1000}]},{id:diamond_leggings,ench:[{id:protection,lvl:1000},{id:blast_protection,lvl:1000}, {id:thorns,lvl:1000},{id:unbreaking,lvl:1000}]}, {id:diamond_chestplate,ench:[{id:protection,lvl:1000},{id:blast_protection,lvl:1000},{id:thorns,lvl:1000},{id:unbreaking,lvl:1000}]},{id:diamond_helmet,ench:[{id:protection,lvl:1000},{id:blast_protection,lvl:1000},{id:thorns,lvl:1000},{id:unbreaking,lvl:1000}]}}
13168
Note that this is only focusing on Minecraft Java Edition, and for versions 1.13+. I am predominantly looking for a solution that does not require any external programs (like MCEdit or NBTExplorer) and will work in just plain vanilla Minecraft, although if the only solution doesn't fit these criteria, I'll still take it (since having a solution is better than no solution!) Essentially, I am looking for a way to put a phrase (meaning essentially there are two or more words and spaces are involved) on a Minecraft scoreboard. This is what I mean by 'phrase': One two three, 1 2 3 These are not 'phrases': OneTwoThree, One-Two-Three, One_Two_Three, 1-2-3, etc. However, it seems like the only way to add text to an objective on the scoreboard is to add a &quot;fake player&quot;, via /scoreboard  players add [playername] [objectivename] [score], which shows the [playername] and the [score] part of the command on the scoreboard. However, since player names can't have spaces at all, it means that you can't have a phrase shown on the scoreboard. I have seen on many servers scoreboards that do have phrases listed on the scoreboard, but I have no idea how they do this (probably because of plugins that can do this sort of thing).  I did notice that teams can be given display names that can have spaces, so is there a way to display the team name on the scoreboard (thus being able to put phrases on there?)? Overall, my main question would be &quot;Is there a way to use spaces on the scoreboard (excluding the objective name) in vanilla Minecraft?
25027
I can't seem to figure this out. I am trying to testfor if a player is near certain coordiantes, namely {-9, 100, 16}, and then to teleport them somewhere else.  In earlier versions it would be /testfor @a[x=-9,y=100,z=16,r=2] in a repeating command block going into a chain conditional command block that says /tp @p ~8 ~ ~, although it seems in 1.13 they have removed /testfor. I've seen that apparently I'm supposed to use /execute now in some way but I'm not sure how.
70229
I went to my friends house, and he was playing Minecraft on the PC. He showed me a command block, but when I went home and opened Minecraft pocket edition, I went to the crafting table but I could not find any command blocks to craft.  What are command blocks and how do I craft them?
92489
I'm attempting to give a player an enchanted sword using the following command: /give @p diamond_sword 1 0 {&quot;ench&quot;:[{&quot;id&quot;:5,&quot;lvl&quot;:1}]}  Why do I see this error? This copied from example for Bedrock Edition, but not working.