Missing brace error on give commandWhat's wrong with this command block code?Why am I getting an “Invalid json” error for my title command in 15w35e?Minecraft 1.8 Sign Command HelpMinecraft Sign Command give tool help [1.8]Minecraft problem with commandWhat's wrong with my /summon command? [1.12]Have problem with the “give” commandCan a player give an enchanted item on XBOX ONE?Execute command troublesMinecraft 1.14 /give command with multiple NBT tags
What is the difference between "behavior" and "behaviour"?
How long to clear the 'suck zone' of a turbofan after start is initiated?
Closest Prime Number
Two monoidal structures and copowering
How do I find the solutions of the following equation?
Detecting if an element is found inside a container
Why are there no referendums in the US?
How can we prove that any integral in the set of non-elementary integrals cannot be expressed in the form of elementary functions?
Integer addition + constant, is it a group?
Escape a backup date in a file name
Did Dumbledore lie to Harry about how long he had James Potter's invisibility cloak when he was examining it? If so, why?
What can we do to stop prior company from asking us questions?
How did Doctor Strange see the winning outcome in Avengers: Infinity War?
Is this apparent Class Action settlement a spam message?
How do we know the LHC results are robust?
Do all network devices need to make routing decisions, regardless of communication across networks or within a network?
What does the word "Atten" mean?
Sequence of Tenses: Translating the subjunctive
India just shot down a satellite from the ground. At what altitude range is the resulting debris field?
Is `x >> pure y` equivalent to `liftM (const y) x`
Lay out the Carpet
You cannot touch me, but I can touch you, who am I?
Implement the Thanos sorting algorithm
How does the UK government determine the size of a mandate?
Missing brace error on give command
What's wrong with this command block code?Why am I getting an “Invalid json” error for my title command in 15w35e?Minecraft 1.8 Sign Command HelpMinecraft Sign Command give tool help [1.8]Minecraft problem with commandWhat's wrong with my /summon command? [1.12]Have problem with the “give” commandCan a player give an enchanted item on XBOX ONE?Execute command troublesMinecraft 1.14 /give command with multiple NBT tags
I’m typing in the command:
/give @p lever 64 0 can_place_on : [“minecraft:iron_block”]
and it keeps on coming up with:
line 1 column 2 missing ‘}’ or object member name
I don’t see what I’m doing wrong
minecraft xbox-one
New contributor
add a comment |
I’m typing in the command:
/give @p lever 64 0 can_place_on : [“minecraft:iron_block”]
and it keeps on coming up with:
line 1 column 2 missing ‘}’ or object member name
I don’t see what I’m doing wrong
minecraft xbox-one
New contributor
1
I'm not familiar with xbox commands, but I know that in 1.13 Java Edition the correct synax is /give @p leverCanPlaceOn:["iron_block"] 64. You could also try /give @p lever 64 0 CanPlaceOn:["iron_block"] If you're in 1.12 or under.
– SpiceWeasel
8 hours ago
1
@SpiceWeasel the data tag is in the correct spot. I think the issue is the spaces, which you aren't allowed to have within the data tag AFAIK.
– MBraedley
8 hours ago
add a comment |
I’m typing in the command:
/give @p lever 64 0 can_place_on : [“minecraft:iron_block”]
and it keeps on coming up with:
line 1 column 2 missing ‘}’ or object member name
I don’t see what I’m doing wrong
minecraft xbox-one
New contributor
I’m typing in the command:
/give @p lever 64 0 can_place_on : [“minecraft:iron_block”]
and it keeps on coming up with:
line 1 column 2 missing ‘}’ or object member name
I don’t see what I’m doing wrong
minecraft xbox-one
minecraft xbox-one
New contributor
New contributor
edited 8 hours ago
MBraedley
13.2k1786136
13.2k1786136
New contributor
asked 8 hours ago
ApeboybotApeboybot
1
1
New contributor
New contributor
1
I'm not familiar with xbox commands, but I know that in 1.13 Java Edition the correct synax is /give @p leverCanPlaceOn:["iron_block"] 64. You could also try /give @p lever 64 0 CanPlaceOn:["iron_block"] If you're in 1.12 or under.
– SpiceWeasel
8 hours ago
1
@SpiceWeasel the data tag is in the correct spot. I think the issue is the spaces, which you aren't allowed to have within the data tag AFAIK.
– MBraedley
8 hours ago
add a comment |
1
I'm not familiar with xbox commands, but I know that in 1.13 Java Edition the correct synax is /give @p leverCanPlaceOn:["iron_block"] 64. You could also try /give @p lever 64 0 CanPlaceOn:["iron_block"] If you're in 1.12 or under.
– SpiceWeasel
8 hours ago
1
@SpiceWeasel the data tag is in the correct spot. I think the issue is the spaces, which you aren't allowed to have within the data tag AFAIK.
– MBraedley
8 hours ago
1
1
I'm not familiar with xbox commands, but I know that in 1.13 Java Edition the correct synax is /give @p leverCanPlaceOn:["iron_block"] 64. You could also try /give @p lever 64 0 CanPlaceOn:["iron_block"] If you're in 1.12 or under.
– SpiceWeasel
8 hours ago
I'm not familiar with xbox commands, but I know that in 1.13 Java Edition the correct synax is /give @p leverCanPlaceOn:["iron_block"] 64. You could also try /give @p lever 64 0 CanPlaceOn:["iron_block"] If you're in 1.12 or under.
– SpiceWeasel
8 hours ago
1
1
@SpiceWeasel the data tag is in the correct spot. I think the issue is the spaces, which you aren't allowed to have within the data tag AFAIK.
– MBraedley
8 hours ago
@SpiceWeasel the data tag is in the correct spot. I think the issue is the spaces, which you aren't allowed to have within the data tag AFAIK.
– MBraedley
8 hours ago
add a comment |
1 Answer
1
active
oldest
votes
I have been encountering a similar issue. I am using the Xbox version on my android phone. I have checked multiple sources trying to create an axe or pickaxe that will only break glass and i get the same error message.
Here is my line of code:
/give @p wooden_axe 1 0 display:Name:"Glassbreaker",Lore:["In case of emergency break glass..."],CanDestroy:["glass"],HideFlags:7
I got most of this from an item creater page and added the Can Destroy tag I found in another message.
when i try to add these as 1 full line or individually i get the response:
"line 1 column 2 missing ‘}’ or object member name"
OR
"Syntax error: Unexpected "reaker" at"... or some other word in the line it randomly doesn't like today.
As for the original question... Every source I have seen is telling me it is correct, but there is an error on the xbox version that will not accept the proper coding on a couple commands. The only other helpful thing I can give you is that some of these commands will only activate in adventure mode... Try /give @s command_block and enter it into the command block, putting a button on it, and switching to adventure mode. Hit the button and cross your fingers...
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "41"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Apeboybot is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f348269%2fmissing-brace-error-on-give-command%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have been encountering a similar issue. I am using the Xbox version on my android phone. I have checked multiple sources trying to create an axe or pickaxe that will only break glass and i get the same error message.
Here is my line of code:
/give @p wooden_axe 1 0 display:Name:"Glassbreaker",Lore:["In case of emergency break glass..."],CanDestroy:["glass"],HideFlags:7
I got most of this from an item creater page and added the Can Destroy tag I found in another message.
when i try to add these as 1 full line or individually i get the response:
"line 1 column 2 missing ‘}’ or object member name"
OR
"Syntax error: Unexpected "reaker" at"... or some other word in the line it randomly doesn't like today.
As for the original question... Every source I have seen is telling me it is correct, but there is an error on the xbox version that will not accept the proper coding on a couple commands. The only other helpful thing I can give you is that some of these commands will only activate in adventure mode... Try /give @s command_block and enter it into the command block, putting a button on it, and switching to adventure mode. Hit the button and cross your fingers...
New contributor
add a comment |
I have been encountering a similar issue. I am using the Xbox version on my android phone. I have checked multiple sources trying to create an axe or pickaxe that will only break glass and i get the same error message.
Here is my line of code:
/give @p wooden_axe 1 0 display:Name:"Glassbreaker",Lore:["In case of emergency break glass..."],CanDestroy:["glass"],HideFlags:7
I got most of this from an item creater page and added the Can Destroy tag I found in another message.
when i try to add these as 1 full line or individually i get the response:
"line 1 column 2 missing ‘}’ or object member name"
OR
"Syntax error: Unexpected "reaker" at"... or some other word in the line it randomly doesn't like today.
As for the original question... Every source I have seen is telling me it is correct, but there is an error on the xbox version that will not accept the proper coding on a couple commands. The only other helpful thing I can give you is that some of these commands will only activate in adventure mode... Try /give @s command_block and enter it into the command block, putting a button on it, and switching to adventure mode. Hit the button and cross your fingers...
New contributor
add a comment |
I have been encountering a similar issue. I am using the Xbox version on my android phone. I have checked multiple sources trying to create an axe or pickaxe that will only break glass and i get the same error message.
Here is my line of code:
/give @p wooden_axe 1 0 display:Name:"Glassbreaker",Lore:["In case of emergency break glass..."],CanDestroy:["glass"],HideFlags:7
I got most of this from an item creater page and added the Can Destroy tag I found in another message.
when i try to add these as 1 full line or individually i get the response:
"line 1 column 2 missing ‘}’ or object member name"
OR
"Syntax error: Unexpected "reaker" at"... or some other word in the line it randomly doesn't like today.
As for the original question... Every source I have seen is telling me it is correct, but there is an error on the xbox version that will not accept the proper coding on a couple commands. The only other helpful thing I can give you is that some of these commands will only activate in adventure mode... Try /give @s command_block and enter it into the command block, putting a button on it, and switching to adventure mode. Hit the button and cross your fingers...
New contributor
I have been encountering a similar issue. I am using the Xbox version on my android phone. I have checked multiple sources trying to create an axe or pickaxe that will only break glass and i get the same error message.
Here is my line of code:
/give @p wooden_axe 1 0 display:Name:"Glassbreaker",Lore:["In case of emergency break glass..."],CanDestroy:["glass"],HideFlags:7
I got most of this from an item creater page and added the Can Destroy tag I found in another message.
when i try to add these as 1 full line or individually i get the response:
"line 1 column 2 missing ‘}’ or object member name"
OR
"Syntax error: Unexpected "reaker" at"... or some other word in the line it randomly doesn't like today.
As for the original question... Every source I have seen is telling me it is correct, but there is an error on the xbox version that will not accept the proper coding on a couple commands. The only other helpful thing I can give you is that some of these commands will only activate in adventure mode... Try /give @s command_block and enter it into the command block, putting a button on it, and switching to adventure mode. Hit the button and cross your fingers...
New contributor
New contributor
answered 34 mins ago
MarkMark
1
1
New contributor
New contributor
add a comment |
add a comment |
Apeboybot is a new contributor. Be nice, and check out our Code of Conduct.
Apeboybot is a new contributor. Be nice, and check out our Code of Conduct.
Apeboybot is a new contributor. Be nice, and check out our Code of Conduct.
Apeboybot is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Arqade!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fgaming.stackexchange.com%2fquestions%2f348269%2fmissing-brace-error-on-give-command%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
I'm not familiar with xbox commands, but I know that in 1.13 Java Edition the correct synax is /give @p leverCanPlaceOn:["iron_block"] 64. You could also try /give @p lever 64 0 CanPlaceOn:["iron_block"] If you're in 1.12 or under.
– SpiceWeasel
8 hours ago
1
@SpiceWeasel the data tag is in the correct spot. I think the issue is the spaces, which you aren't allowed to have within the data tag AFAIK.
– MBraedley
8 hours ago