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]

Hogwarts Legacy Beginner Tips Hogwarts Legacy Beginner Tips

Posted On: April 21, 2023
Hey! Orderd a ps5 yesterday with hogwarts legacy and it will arrive today. Are there any important things i should know about the game? (Without spoilers). And is the game long? Are the most glitch...[More]


How do I save an Ultrahand creation to Autobuild without changing it? How do I save an Ultrahand creation to Autobuild without changing it?

Posted On: July 31, 2023
I am currently working on building a hoverbike that I can save with Autobuild. Since I've got it aligned and it flies straight, I'd rather not change it. However, I attached a stake to one of ...[More]


How does scoring work in Unidentified Falling Objects? How does scoring work in Unidentified Falling Objects?

Posted On: August 21, 2023
In Unidentified Falling Objects there are objectives to earn a certain amount of points in a single combo. The amount of points you earn seems to be affected by how many blocks you break at once and y...[More]


Does Bozai show up before defeating Vah Naboris? Does Bozai show up before defeating Vah Naboris?

Posted On: June 13, 2023
Bozai is the NPC in BOTW that gives the player snow and sand boots. I am searching for him around the outskirts of Gerudo Town and I can not find him. I have also looked at the tent he would sit in. T...[More]


How can you be immune to damage from bed explosions in the nether? How can you be immune to damage from bed explosions in the nether?

Posted On: April 11, 2023
In Minecraft, everyone seems to able to use beds for mining or killing the Ender Dragon, but whenever I use it I blow up instantly. Is this a bug, or how can I be immune to this damage? Question...[More]


Cant restore my Wii: BootMii Wont Work Cant restore my Wii: BootMii Wont Work

Posted On: March 24, 2023
I am trying to restore or un-modify my Wii. When I try to start BootMii from the Home Brew Channel, I get only a black screen. Can somebody please help me? I don't know how the heck I would hav...[More]


Does Duplication Potion count towards the Velvet Chokers card limit? Does Duplication Potion count towards the Velvet Chokers card limit?

Posted On: January 4, 2024
The Velvet Choker relic effect states "You cannot play more than 6 cards per turn". The Duplication Potion's description says "This turn, your next two cards are played twice"....[More]


Anyone know what this is in Hogwarts? Anyone know what this is in Hogwarts?

Posted On: July 4, 2023
Question from user wessel3050 at HogwartsLegacyGaming at reddit. Answer: Woah! This is a rare one. Count the legs (as they are different per occurrence) and then return to deek, 1 to 1200 intera...[More]


Is there a way to not kill rolan? Is there a way to not kill rolan?

Posted On: February 27, 2026
I killed loroakan and rolan just immediately attacked me. Is there anyway to avoid that? I don't like killing people i saved previously.Question from user pillar_of_nothing at BaldursGate3 at reddit.c...[More]


How do I get SCUBA gear in GTA 5? How do I get SCUBA gear in GTA 5?

Posted On: April 25, 2023
I am looking for a way to equip Scuba gear outside of a mission. I know that you are automatically equipped with scuba gear when you exit the Submersible while in water. Can anyone other than th...[More]