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]

Making Money in Pokemon First Generation Making Money in Pokemon First Generation

Posted On: July 14, 2023
In the first generation of pokemon games, you can't do a rematch on trainers you have beat during the course of the game. Since you only get money by fighting trainers, how are you supposed to ...[More]


How do I get to the new cow rift in Reaper of Souls? How do I get to the new cow rift in Reaper of Souls?

Posted On: June 25, 2023
There have been reports of a new "cow level" that seems to only be accessible via Nephalem Rifts: Are the Rifts fixed in terms of location (act/area)? Are Rifts the only way to get there?...[More]


Change installation path of Minecraft Launcher? (Not the game) Change installation path of Minecraft Launcher? (Not the game)

Posted On: June 22, 2023
When downloading and installing the minecraft launcher from the offical website, there is no step for me to choose the install path and its always in C:XboxGames. Anyway for me to change the path into...[More]


Cant disarm missile in Dark Water mission in MW II Cant disarm missile in Dark Water mission in MW II

Posted On: June 15, 2023
As it seems I've encountered a game-breaking bug in MW II in a single player mission on PC. In Dark Water you're supposed to find and disarm a missile. I've found it and got to the cont...[More]


Is it just me or is there something wrong with Professor Garlick? Is it just me or is there something wrong with Professor Garlick?

Posted On: September 5, 2023
Is it just me or is there something wrong with Professor Garlick? Was it really just accidents her former herbalism teacher suffered, or did Garlick have something to do with it? I mean, she fel...[More]


Whats the purpose of Wormskin Folios? Whats the purpose of Wormskin Folios?

Posted On: April 24, 2024
I collected one while doing a Nexus mission on an infected planet. The wiki says that there are more of these collectibles out there, so I suppose I can find the others in the same method.But then? Ar...[More]


How does Steam Input measure time? How does Steam Input measure time?

Posted On: March 18, 2023
How are units of time measured in the Steam Input menus? For example, if I set an action's Fire Start Delay to to 100, how long will the delay be? Question from user Stevoisiak at gaming.stacke...[More]


How to kill a bronze colossus in Dwarf Fortress? How to kill a bronze colossus in Dwarf Fortress?

Posted On: May 5, 2023
A bronze colossus just showed up on my map? How can I kill it? Question from user C. Ross at gaming.stackexchange.com. Answer: I have done this before, get it to go into a room close the door...[More]


What is the difference between Yakuza 0 and Yakuza 6? What is the difference between Yakuza 0 and Yakuza 6?

Posted On: March 27, 2023
Sometimes I see Ryu Ga Gotoku 6 (an opus of Yakuza). Interested by the game I decided to see if I could order it, but the only one available is Yakuza 0. I quite don't understand what's the li...[More]


In Yakuza 0, How do I fight the 3rd to last opponent in the Colosseum? In Yakuza 0, How do I fight the 3rd to last opponent in the Colosseum?

Posted On: March 28, 2023
I have fought every opponent at the Bed of Styx colosseum except for one. Even after repeating every tournament multiple times, I haven't met the third to last person in the opponent list. Is t...[More]