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]

In Hogwarts is how do I get to this chest behind the revolving statues? In Hogwarts is how do I get to this chest behind the revolving statues?

Posted On: February 12, 2023
There are some caves that has these chests behind the revolving statues. Standing on the platform rotates and you end up on the other platform, rather than the other side of the wall. How do I get ...[More]


Replacing Water Blocks With Lava in Minecraft Replacing Water Blocks With Lava in Minecraft

Posted On: February 20, 2023
In Minecraft (Bedrock), I'm trying to replace water blocks with lava using a /fill command, e.g., on a region already containing water (note: this command covers the entire water region, there'...[More]


Is the Infini-Lift Lightspeed worth it? Is the Infini-Lift Lightspeed worth it?

Posted On: September 30, 2023
In Tiny Tower (iOS), is the Infini-Lift Lightspeed worthwhile? It's fairly expensive at 499 Bux. Does it have any special features or is it just faster? Question from user cagcowboy at stackexc...[More]


In what way is super mario advance 2 less difficult than the original game? In what way is super mario advance 2 less difficult than the original game?

Posted On: March 2, 2024
The Wikipedia article for Super Mario World states that the Gameboy Advance version (Super Mario Advance 2) has a 'toned down difficulty' compared to the original game. However, I am curious as to how...[More]


How do I get keys in where is my water? How do I get keys in where is my water?

Posted On: March 2, 2023
I'm playing where is my water on windows phone. I completed my missions under "soap factory", and four more missions under "beach". It wants me buy 3 keys or take from my frien...[More]


Floo Flames in Hogwarts Legacy Floo Flames in Hogwarts Legacy

Posted On: March 24, 2023
LoL anybody else in here make it a point to visit every last floo flame on the map shortly after u got ur broom? I'm like 16 hours into the game and barely %25 done with the game  Question...[More]


In Hogwarts, Am I Wendelin the weird? In Hogwarts, Am I Wendelin the weird?

Posted On: June 11, 2023
Is it werid to have too many profiles because well…er…I have 20 profiles just for my own characters each with their own unique backstory am just asking do you think it’s weird to h...[More]


How do I unlock the 6th world in EscapeVektor? How do I unlock the 6th world in EscapeVektor?

Posted On: June 26, 2023
In EscapeVektor (Wii), I've gotten a star in every level and all 5 worlds, but I am unable to unlock the path to the 6th world, which I believe is grayed out and directly above the first world. ...[More]


Hogwarts Legacy Explanations Hogwarts Legacy Explanations

Posted On: June 6, 2023
Hey my first time posting on here so not sure of the usual etiquette but spoilers ahead!. I’ve got some frustrations with Hogwarts Legacy and it’s ending and wanted to vent maybe even p...[More]


Is there a bobble head equivalent in Fallout: New Vegas? Is there a bobble head equivalent in Fallout: New Vegas?

Posted On: August 24, 2023
I have been looking around for the standard stat boosters and skill boosters and still haven't seen anything that will boost my S.P.E.C.I.A.L. I was wondering if there are any things hidden away l...[More]