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]

Are there any merchants in Legend of Grimrock 2? Are there any merchants in Legend of Grimrock 2?

Posted On: June 13, 2023
Are there any merchants in Legend of Grimrock 2? I want to know if I should hoard items or just drop the ones that I don't need. I assume it's the same as the first but I want to make sure. ...[More]


How do I skip the Opening Intro Videos without clicking? How do I skip the Opening Intro Videos without clicking?

Posted On: January 14, 2023
When you start Rocket League, there are 2 annoying videos that start every time you launch the game, you can skip them by clicking the mouse button, but I'd like to skip them all together. Is i...[More]


How is the additional damage from Chosen weaknesses calculated? How is the additional damage from Chosen weaknesses calculated?

Posted On: January 18, 2023
Some of the Chosens' possible weaknesses make them take additional damage from particular damage sources. These are:.Shell-shocked - additional damage from explosives.Brittle - additional damage from ...[More]


What is the difference between Breath of Fire III for the PSX and for the PSP (or PSPGo)? What is the difference between Breath of Fire III for the PSX and for the PSP (or PSPGo)?

Posted On: January 14, 2023
I am aware that some games, (like the early Final Fantasy titles, Disgaea) which are on PSP (more appropriately, PSN) are later versions with a small amount of extra content. Normally it is fairly eas...[More]


Is there any way to see progress towards achievements in Civ 5? Is there any way to see progress towards achievements in Civ 5?

Posted On: January 22, 2023
Is there a way to see how much more I have to do to achieve the various achievements? For example, Merchant King is Trade 100 resources over any number of playthroughs. I'd love to know how c...[More]


Can you control what ore a drill harvests when its placed over multiple ores? Can you control what ore a drill harvests when its placed over multiple ores?

Posted On: January 5, 2024
I'm trying to harvest the maximum amount of uranium possible from a small patch. Unfortunately, there is a bordering coal patch nearby as well, and two of my electric mining drills are within rang...[More]


How do orders work in the GTA iFruit App for Los Santos Customs? How do orders work in the GTA iFruit App for Los Santos Customs?

Posted On: April 22, 2023
I have just ordered my first upgrades via the iFruit App to my online car. . Roughly how long does this take to apply to my in-game content? . Do I have to take money out of my bank to pay for t...[More]


I’m completely stuck I’m completely stuck

Posted On: November 4, 2023
I think I’m on act 2, but sorry if I’m not for the tags, but anyway, I’ve been trying all day to complete this bit where you have to kill the Inquisitor person, I went into the porta...[More]


Fallout 4 wont launch after Xbox update Fallout 4 wont launch after Xbox update

Posted On: April 25, 2024
After the Xbox update on December 6th to version 10.0.25398.2917 I am unable to start Fallout 4 anymore. The loading screen is shown, but nothing else happens.As this is the only game I have installed...[More]


BG3 Rites of Passage BG3 Rites of Passage

Posted On: April 18, 2026
In another thread about using Divine Intervention again Raphael, and finding out that’s a very bad idea if you’re unprepared, several people posted some variation of “It happens to everyone at l...[More]