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]

In Minecraft, what to do with all these Iron ingots? In Minecraft, what to do with all these Iron ingots?

Posted On: February 15, 2023
So I have about 10 iron ingots, but not sure what to start using them for first. Which is the more important thing to invest my ingots? I know armor swords and tools are important, but what is my prio...[More]


What does a plus cells and gems icon on the Dead Cells world map mean? What does a plus cells and gems icon on the Dead Cells world map mean?

Posted On: April 18, 2023
During a run with 2 Boss Stem Cells enabled, I noticed something odd on the World Map screen. The box for the Ossuary biome had icons of cells, gems, and a plus sign over it. When I died and started a...[More]


Is it possible to run RollerCoaster Tycoon 2 in windowed mode? Is it possible to run RollerCoaster Tycoon 2 in windowed mode?

Posted On: April 9, 2024
Is it possible to run RollerCoaster Tycoon 2 in windowed mode?I have Windows 7 and the game works, but since my resolution is bigger than the game can handle, I would prefer to play in windowed mode i...[More]


What are the in-app purchases for Layton and the Diabolical Box on Android? What are the in-app purchases for Layton and the Diabolical Box on Android?

Posted On: March 19, 2023
The Google Play store page for Professor Layton and the Diabolical Box on Android says it contains in-app purchases. I can't find any other mention of them on the store page. What are the in-ap...[More]


If I can only buy games as gifts on Steam and not as keys, where do 3rd party resellers get theirs? If I can only buy games as gifts on Steam and not as keys, where do 3rd party resellers get theirs?

Posted On: October 16, 2023
3rd party game key resellers like Kinguin or G2A sell game keys right? Supposedly the key sellers are just other users. I as a user as well cannot seem to buy keys from Steam though? I can only buy th...[More]


In Factorio What fuel should I use for my flamethrower turrets? In Factorio What fuel should I use for my flamethrower turrets?

Posted On: May 4, 2023
Version 0.13 adds flamethrower turrets to the game. They can be operated with crude oil, heavy oil or light oil. Does the choice of oil have any impact on their performance? Also, which one is the mor...[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]


Can I have more than one of the same trading card? Can I have more than one of the same trading card?

Posted On: January 22, 2023
Steam now has trading cards. In order to get them, you're supposed to play specific games (currently there are only 6 games supported, but they've said more will come).However, it's only possible to ...[More]


I cant find Manaphy in Pokemon Legends Arceus I cant find Manaphy in Pokemon Legends Arceus

Posted On: July 13, 2023
I finished all the tasks, even unlocked the cave, but Manaphy isn't there. I already repeated the process many times, he's not there. Any help? Question from user Maria Zapata at stackex...[More]


Rocket League controller only works on Press Any Button to Start screen Rocket League controller only works on Press Any Button to Start screen

Posted On: September 17, 2023
When I start Rocket League, I press a button on my controller at the screen that says "Press Any Button to Start". That brings up the main menu, but my controller no longer works to control ...[More]