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]

How can I jump across the bridge? How can I jump across the bridge?

Posted On: December 30, 2023
I'm playing Half-Life 2 Episode 2 and I need to get this car to the other side of the bridge. Perhaps I'm missing something dead obvious, but how on earth do I do this? It seemed some in-ga...[More]


Is Hearthstone a game-within-game? Is Hearthstone a game-within-game?

Posted On: August 25, 2023
Hearthstone's visuals suggest that the game is played in a tavern in the World of Warcraft universe on a (possibly magical) game board. Is Hearthstone a game-within-game in WoW? When you play H...[More]


Just need some advice ?? Just need some advice ??

Posted On: November 28, 2025
Im doing my first real play through, and decided to play on tactician and would really like some advice/tips. So far i made it to the cove after finding the guy who can respec your characters. Battle...[More]


Besides practicing, what are some great ways to become a better player? Besides practicing, what are some great ways to become a better player?

Posted On: January 20, 2018
Besides practicing, what are some great ways to become a better StarCraft II player? Off the top of my head I can think of:. Watching replays with commentary from youtube.com/hdstarcraft and you...[More]


In Lucky Luna, how many gems do I lose when I die? In Lucky Luna, how many gems do I lose when I die?

Posted On: March 11, 2023
Whenever I die in Lucky Luna I lose some of my gems. The amount of gems I lose seems to vary. What determines how many gems I lose when I die? Question from user Stevoisiak at gaming.stackexchange....[More]


Are any of the quests in Horizon: Zero Dawn time sensitive? Are any of the quests in Horizon: Zero Dawn time sensitive?

Posted On: April 4, 2023
I started playing Horizon: Zero Dawn a few weeks ago and have been focusing mainly on sidequests and exploring the world. I advanced the game just enough so I got to Meridian, but as I collected more ...[More]


Can you delete or overwrite HM moves in Pokemon RGBY? Can you delete or overwrite HM moves in Pokemon RGBY?

Posted On: February 26, 2023
Is there any way to remove HM moves from a Pokemon in the first generation games? This includes learning and overwriting the HM or using a move deleter. Question from user zero298 at gaming.stackex...[More]


How to connect storage items with stills? How to connect storage items with stills?

Posted On: January 17, 2023
I'm pretty new to dwarf fortress, so sorry if this question doesn't make sense. I've been trying to use a still, but most of the options are unavailable because it needs an empty storage i...[More]


What was the first game to show toilets? What was the first game to show toilets?

Posted On: November 20, 2023
And by "toilets" I mean the actual thing you sit on, not just "restrooms". Not trying to be weird, I just remember I first saw them in Fallout 3 (2008) and suddenly realized tho...[More]


Hogwarts Legacy is Excellent but lacking? Hogwarts Legacy is Excellent but lacking?

Posted On: April 17, 2023
Anyone else love the game but just feel they could have expanded on a lot of things? Beast taming could have been a proper side thing yet I'm just feeding them for materials, once I've gott...[More]