Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?

[BACK]
Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?
Posted On: January 19, 2023

This question was split into different questions for each workaround. See these two 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:["Wooden planks"]}}.


give @s stone_pickaxe{Unbreakable:1b}.


give @s item_frame{EntityTag:{Invisible:1b}}.


summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}}.


summon tnt ~ ~ ~ {Fuse:20s}.


Question from user cherryblossom at gaming.stackexchange.com.


Answer:

If your question was marked as a duplicate of this one, it means your NBT question is not solvable in Bedrock Edition.


Unfortunately, there is no access to NBT tags from commands in Bedrock Edition (formerly Pocket Edition), so this is not possible. There are some workarounds for specific use cases:.


Giving one of the default potions from the Creative Inventory (no custom effects).


Giving an item with properties (click link to see available/unavailable properties).


Using an NBT editor to modify normally unavailable item properties.


Can be used to obtain enchantments that exceed their maximum enchantment level. (No longer works as of 1.16.100).


Using CanPlaceOn and CanDestroy.


Detecting whether a player has an item in their inventory, or in a certain slot.


Getting a block with data to place yourself.


Setting a block with data in a certain position.


Summoning a charged creeper.


Summoning a named mob.


Summoning a baby mob.


Summoning a villager with a certain profession.


Testing for a certain dropped item.


Summoning a horse with specific attributes.


Here are some examples of things that are currently impossible in Bedrock Edition:.


Giving a potion with a custom effect (although you can fake it to some extent using commands).


Placing skulls with custom owners.


Adding attribute modifiers to items.


Summoning a tipped arrow.


Summoning invisible item frames.


Summoning horses with custom speed/jump height/health.


Changing the time until a TNT explosion.


Querying item properties in /clear (note that you can still use data values).


Detecting when a mob is at a certain health.


Referencing JSON files in commands.


Answer from user cherryblossom at gaming.stackexchange.com.


[BACK]
Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?
Posted On: January 19, 2023

This question was split into different questions for each workaround. See these two 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:["Wooden planks"]}}.


give @s stone_pickaxe{Unbreakable:1b}.


give @s item_frame{EntityTag:{Invisible:1b}}.


summon villager ~ ~ ~ {Offers:{Recipes:[{buy:{id:"emerald",Count:5b},sell:{id:"diamond_sword"}}]}}.


summon tnt ~ ~ ~ {Fuse:20s}.


Question from user cherryblossom at gaming.stackexchange.com.


Answer:

If your question was marked as a duplicate of this one, it means your NBT question is not solvable in Bedrock Edition.


Unfortunately, there is no access to NBT tags from commands in Bedrock Edition (formerly Pocket Edition), so this is not possible. There are some workarounds for specific use cases:.


Giving one of the default potions from the Creative Inventory (no custom effects).


Giving an item with properties (click link to see available/unavailable properties).


Using an NBT editor to modify normally unavailable item properties.


Can be used to obtain enchantments that exceed their maximum enchantment level. (No longer works as of 1.16.100).


Using CanPlaceOn and CanDestroy.


Detecting whether a player has an item in their inventory, or in a certain slot.


Getting a block with data to place yourself.


Setting a block with data in a certain position.


Summoning a charged creeper.


Summoning a named mob.


Summoning a baby mob.


Summoning a villager with a certain profession.


Testing for a certain dropped item.


Summoning a horse with specific attributes.


Here are some examples of things that are currently impossible in Bedrock Edition:.


Giving a potion with a custom effect (although you can fake it to some extent using commands).


Placing skulls with custom owners.


Adding attribute modifiers to items.


Summoning a tipped arrow.


Summoning invisible item frames.


Summoning horses with custom speed/jump height/health.


Changing the time until a TNT explosion.


Querying item properties in /clear (note that you can still use data values).


Detecting when a mob is at a certain health.


Referencing JSON files in commands.


Answer from user cherryblossom at gaming.stackexchange.com.


[BACK]

Is it possible to jump over the flag-pole in Super Mario Bros? Is it possible to jump over the flag-pole in Super Mario Bros?

Posted On: August 16, 2019
When I was younger, I remember there was a persistent rumour that claimed that under certain circumstances it was possible to jump completely over the flagpole at the end of each level. . Every tim...[More]


Is the Game of the Year version of Fable 2 as buggy as the standard version? Is the Game of the Year version of Fable 2 as buggy as the standard version?

Posted On: March 24, 2023
I had Fable 2 for XBOX360 (PAL version, i.e. Europe/Australia) and it was buggy as hell. If I was married, my wife would go from totally happy to leaving me in an instant. There were several other min...[More]


Arachnophobia Mode useless? Arachnophobia Mode useless?

Posted On: July 18, 2023
Hi, I am a huge fan of HL and I have always been really scared of spiders (I even have to tell myself to stay calm when I hover over them in the menu). I bought the deluxe version so that I could play...[More]


First time playing Hogwarts Legacy First time playing Hogwarts Legacy

Posted On: July 28, 2023
I haven't played this game yet and I've done a fantastic job at staying away from getting pretty much anything spoiled for me. That being said, what are some things (spoiler free please) that ...[More]


Do unclaimed weapons Zelda Tears Of The Kingdom change after every Blood Moon? Do unclaimed weapons Zelda Tears Of The Kingdom change after every Blood Moon?

Posted On: June 6, 2023
I have been trying to find a pristine Zora Spear from the Depths, but every 'Shadow Soldier' that I find carrying a spear beneath the Zora's Domain doesn't have it. I tried saving a...[More]


PS5 controller doesnt charge PS5 controller doesnt charge

Posted On: July 5, 2023
I have bought controller to use on PC. But when I connect it to USB to charge, orange light glows once and stops. If I connect it to Mac, it glows solid orange with white middle light. It should...[More]


Which explosive guns can cause critical hits? Which explosive guns can cause critical hits?

Posted On: January 24, 2023
When I wrote How do I use elemental effects in Borderlands 2? to the best of my knowledge Explosive guns couldn't critical; I've tested this with "grenade" Assault Rifles, Gyrojet Tourge Assault Rifle...[More]


J Pippins Potions J Pippins Potions

Posted On: September 3, 2023
For some reason j pips potions will not restock spinder fangs /mongrel fur .I go back days and days have gone by nothing is available ? Anyone else have this issue ? Question from user RenoRainesnz...[More]


What is the optimal strategy for 2048? What is the optimal strategy for 2048?

Posted On: July 9, 2023
I've tried a few approaches, but I just can't make a tile with 2048. Question from user André Lucas at stackexchange. Answer: The key to all merging/matching/combining gam...[More]


How long did it take you to find the demiguises in Hogwarts? How long did it take you to find the demiguises in Hogwarts?

Posted On: April 16, 2023
I've been looking on and off for 4 days now but still only have 3 out of 9. I don't really want to cheat and search a location map on the internet. How long did it take you to find them? . ...[More]