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]

Why am I dealing so little damage to enemies in ToTK? Why am I dealing so little damage to enemies in ToTK?

Posted On: May 16, 2023
Despite being several hours into the game, almost all the weapons I'm finding are still really weak. As such, I'm barely dealing any damage to the enemies I come across. Enemies on the other h...[More]


Why would I change my realm layout in Genshin Impact? Why would I change my realm layout in Genshin Impact?

Posted On: October 15, 2023
I recently unlocked the Silken Courtyard realm layout. However I cannot see why I would change to a new layout. None of my furnishings go with me, so I would have to rebuild everything. I tried bef...[More]


How do I check which video clips I've watched in Yakuza 0? How do I check which video clips I've watched in Yakuza 0?

Posted On: March 17, 2023
One of the completion list tasks in Yakuza 0 is to watch 30 different video clips at the erotic video store. Rewatching a clip you've already seen doesn't count. Is there a way to check wha...[More]


How can I earn dungeon achievements in the regular version of Cookie Clicker? How can I earn dungeon achievements in the regular version of Cookie Clicker?

Posted On: September 13, 2023
There are four shadow achievements in Cookie Clicker which involve dungeons:. Getting even with the oven: Defeat the Sentient Furnace in the factory dungeons. Now this is pod-smashing: Defeat th...[More]


Are there any achievements - secrets for beating Mega Satan? Are there any achievements - secrets for beating Mega Satan?

Posted On: August 31, 2023
So I've finally collected Key Piece 1 and Key Piece 2 from the Angel Room and the golden door in Dark Room is now open. . Do I need to beat Mega Satan? I mean, I can't find any achievements...[More]


Empty slot wont accept order in Xcom2 Empty slot wont accept order in Xcom2

Posted On: July 11, 2023
When I try to drag those available orders to the empty slot (red arrows) they won't move and make a bip sound like "can't do it". There is no explanation why it won't accept. ...[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]


Are there any Infinite Combos in Monster Train? Are there any Infinite Combos in Monster Train?

Posted On: June 17, 2023
In a similar game, Slay the Spire, I know of quite a few infinite combos, however with significantly less "draw" cards in Monster Train, I was wondering if there are any ways to get an infin...[More]


What does the keyword Treble do? What does the keyword Treble do?

Posted On: April 14, 2024
What does the keyword Treble do? The following description is not clear to me.Add Treble to the left side. Other Keywords x2 -> x3.Question from user GnomeSlice at gaming.stackexchange.com.Answer:Ot...[More]


Minecraft(on MAC) has Hotbar Scrolling issue Minecraft(on MAC) has Hotbar Scrolling issue

Posted On: June 17, 2023
I have Minecraft installed on my new Mac but there is an issue with the scrolling in the Hotbar. I have to scroll multiple times just to move forward one slot. I used to play Minecraft on Windows but ...[More]