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 Help 100% please Hogwarts Legacy Help 100% please

Posted On: July 29, 2023
Can somebody please walk me through what I'm missing for the platinum? I'm missing 1 revelio page in hogwarts and I don't know which one it is, I've tried guides and everything, I just...[More]


What does the red line on the turbine tower mean? What does the red line on the turbine tower mean?

Posted On: March 6, 2024
Some missions in Splatoon 3 Side Order have a turbine tower you need to continually attack and fill with ink to make it move. There is a red line on the tower's container, similar to the line on an in...[More]


Can I play a single-player game alongside a multi-player party without one affecting the other? Can I play a single-player game alongside a multi-player party without one affecting the other?

Posted On: August 7, 2023
I'm already playing a multiplayer game in BG3. What I want to know is. Can i NOW start a singe-player game by clicking NEW GAME on the main menu. If so, will this allow me to play my single-player...[More]


Waukeen's rest cannot be saved Waukeen's rest cannot be saved

Posted On: July 12, 2025
Hey all. I've just encountered Waukeen's Rest in my save; where I came through the mountain pass, beat Kith'rak Voss and his fellow githyanki soldiers and finally came upon the burning building. IMMED...[More]


Minecraft Powering a redstone torch on a block adjacent to a redstone lamp without powering the lamp Minecraft Powering a redstone torch on a block adjacent to a redstone lamp without powering the lamp

Posted On: April 1, 2023
Would it be possible to power the redstone torch in this configuration without powering the redstone lamp? Question from user Looky1173 at gaming.stackexchange.com. Answer: I assume by "...[More]


Does over-completing challenges earn extra XP in Mario Golf GBC? Does over-completing challenges earn extra XP in Mario Golf GBC?

Posted On: March 17, 2024
When doing side quests in Mario Golf for Game Boy Color, you are often given challenges to complete a task a certain number of times with a set number of attempts. You can keep playing after completin...[More]


How do I disable radiant quests in Skyrim? How do I disable radiant quests in Skyrim?

Posted On: April 27, 2024
I'm a completist. I like to finish EVERYTHING. Skyrim creates a problem for me; it never ends.Is there a way to disable radiant quests, perhaps in the console?Is there a downside to disabling radiant ...[More]


How do I unlock Floaro Gardens in Pokémon Legends: Arceus How do I unlock Floaro Gardens in Pokémon Legends: Arceus

Posted On: July 12, 2023
I want to unlock Floaro Gardens in Pokémon Legends: Arceus, but I didn't play Pokémon Sword or Shield. Is there any way to unlock it? Question from user Maria Zapata at stackexcha...[More]


How do I trigger the effect of the new item, Enduring Brooch? How do I trigger the effect of the new item, Enduring Brooch?

Posted On: November 21, 2023
According to the description in the game for the Enduring Brooch, it's:. A brooch that will prevent you from going down once per battle. But what exactly does it mean by "going down?&qu...[More]


What can I do with Dragon Bones and Scales? What can I do with Dragon Bones and Scales?

Posted On: August 25, 2015
I've started slaying dragons (like all good Dohvakiin must), and with each beastie I down, I'm getting close to 200 lbs of loot, mostly in the form of Dragon Bones and Scales. These two items are high...[More]