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]

Statement from Larian Statement from Larian

Posted On: November 27, 2023
Regarding patch 4:. " In Patch 4 we introduced a fix that would prevent the Scrying Eyes in Moonrise Towers from immediately calling the guards on you when stealing, even if you were sneaking,...[More]


What value is there in keeping multiples of the same mirage in World Of Final Fantasy? What value is there in keeping multiples of the same mirage in World Of Final Fantasy?

Posted On: February 22, 2023
I have been playing a while now and have tried my best to imprism every mirage I've found. However this has lead me to have multiple mirages which are transfigurations of existing mirages. Such as...[More]


How do you discover combos in Street Fighter V? How do you discover combos in Street Fighter V?

Posted On: April 11, 2023
If I wanted to learn a character in SFV (or any fighting game, really), how should I go about discovering new combos (without the use of videos). Should I be looking at frame data? Question from us...[More]


Stuck in Marathon 1 level 5 Stuck in Marathon 1 level 5

Posted On: March 4, 2024
I have gotten to level 5 (Couch Fishing) in Marathon, where you have to flip 3 switches to prevent Durandal's access to that area. In the beginning Leela tells you where the switches are, but doesn't ...[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]


How much stardust do I need to trade my Charcadet in Pokemon Go? How much stardust do I need to trade my Charcadet in Pokemon Go?

Posted On: March 9, 2024
This is my Charcadet. I tried to trade it with my other account but it said I don't have enough stardust.Question from user Kaito at gaming.stackexchange.com.Answer:It depends on if the other account ...[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]


What happens if you break the Old Barbarian Statue in Clash of Clans? What happens if you break the Old Barbarian Statue in Clash of Clans?

Posted On: July 11, 2023
As the title asks, what happens if you break (the original) Old Barbarian Statue in the builders base? I have looked online but there isn't much continuity in what it does. Some sources say you ge...[More]


Where can I find pearls in Witcher 3? Where can I find pearls in Witcher 3?

Posted On: March 5, 2023
I am playing Witcher 3 from after patch 1.05. Is it possible to buy shells (pearls) from a merchant, or do I have to find them somewhere? Question from user Purple Rabbit at gaming.stackexchange...[More]


What would the purpose of a 0 tick pulse redstone design be? What would the purpose of a 0 tick pulse redstone design be?

Posted On: February 9, 2023
Situation.I accidentally made a redstone design that generates 0 tick pulses.Here is my setup:.It is a very interesting build, but what can I do with it?How does it work?It seems to generate redstone ...[More]