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]

Act I, Astarion approval high, but romance not triggering? Act I, Astarion approval high, but romance not triggering?

Posted On: October 18, 2024
For the tiefling party my relationship was not high enough and Astarion outright rejected me.I'm still in Act I, just nearing the end of it and I finally got his approval up to high. I hear you can ro...[More]


Minecraft doesnt launch with the Ultrasurf proxy? Minecraft doesnt launch with the Ultrasurf proxy?

Posted On: June 7, 2023
I often go to the library to play Minecraft. Since there are a lot of people playing there, enough people put in the wrong credentials such that the library IP is often temporarily banned from the Moj...[More]


Missing pushups in UFC Trainer Missing pushups in UFC Trainer

Posted On: March 27, 2023
I am about 3 days into my first 30-day challenge on UFC Trainer and have been getting frustrated that the game isn't picking up all of my push-ups. I can grind out 20 or so in the allotted...[More]


Can I check how many stamps Ive collected in Mementos? Can I check how many stamps Ive collected in Mementos?

Posted On: January 30, 2023
When navigating Mementos in Persona 5 Royal, you can collect stamps at the stamps stations for Jose's upgrades. Each time you collect a stamp, it tells you on screen how many stamps you've collected, ...[More]


What is the stat Fumble? What is the stat Fumble?

Posted On: January 24, 2023
I couldn't get a very clear explanation over the internet. Within the Dexterity stat figures "Fumble Recovery". What does it mean if the attack is "fumbled"? Question fro...[More]


This Just Distracts Me in Hogwarts Legacy This Just Distracts Me in Hogwarts Legacy

Posted On: April 22, 2023
Question from user Ravenclaw-Gamer at HogwartsLegacyGaming at reddit.com. Answer: Started playing God of War: Ragnorok after HL and I’m pressing the revelio everywhere and it’s not w...[More]


Whats a good strategy to get the Flower Power achievement? Whats a good strategy to get the Flower Power achievement?

Posted On: August 5, 2023
I'm playing Plants vs. Zombies on the iPhone and one of the achievements is "Flower Power: Keep 10 Twin Sunflowers Alive in a Single Level". I've tried on many different levels &mdas...[More]


Who's your favorite NPC with very few lines in the game? Who's your favorite NPC with very few lines in the game?

Posted On: October 10, 2025
Lots to chose from and lots of weirdly memorable ones at that.Question from user ArachaIdliMaavu at BaldursGate3 at reddit.com.Answer:I got a giggle talking to his majesty at Last Light Inn.Answer fro...[More]


Regional differences in Borderlands 2 Regional differences in Borderlands 2

Posted On: May 19, 2023
General question: Are there any differences in Borderlands 2, based on the game's region code? Specific case: I received a game coded for Region 3, but I live in the U.S.. Are there any signifi...[More]


What happens if you play an attack card twice but the targeted enemy dies after its played once? What happens if you play an attack card twice but the targeted enemy dies after its played once?

Posted On: December 17, 2023
Let's say I'm facing a group of two enemies. I play Double Tap which makes it so my next attack is played twice. I then play Anger which does 6 damage and target an enemy that only has 6hp. Wh...[More]