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]

Is there any difference between a TV and a monitor in regard to input latency? Is there any difference between a TV and a monitor in regard to input latency?

Posted On: June 11, 2023
Is there any difference between a TV and a monitor in regard to input latency (for high-speed online games such as fighting games, sports simulators, and FPS) when connected to a PS/Xbox via HDMI cabl...[More]


How to Farm and Harvest Crops Properly How to Farm and Harvest Crops Properly

Posted On: July 8, 2021
Mom always told me to eat my vegetables. Contrary to popular belief, a diet consisting entirely of steak is unhealthy and expensive. Eating meat is for rich people, and since you’re probably not...[More]


Combat Spells in Hogwarts Legacy Combat Spells in Hogwarts Legacy

Posted On: July 26, 2023
What are everyone's favourite combat spells and what do you all group with each other? . I have bombarda, glacius, diffindo, flipendo as my 1st 4. . Expelliarmus and the 3 unforgivable curse...[More]


What job would your MC Perdue after finishing school at Hogwarts? What job would your MC Perdue after finishing school at Hogwarts?

Posted On: June 21, 2023
I think my Ravenclaw would love to be come an Unspeakable. We loved professor Hecat and with what we’ve learned about the ancient magic I’d imagine it would be the profession that helped h...[More]


Will i enjoy this game if i really like Jedi Fallen Order? Will i enjoy this game if i really like Jedi Fallen Order?

Posted On: September 2, 2023
Ive been wanting HL fo ages and its on sale and i was wondering if id enjoy it if it is similar to jedi fallen order, like combat thats not super hardcore along with exploration, replay ability and a ...[More]


How do I get Avada kedavra in Hogwarts Legacy? How do I get Avada kedavra in Hogwarts Legacy?

Posted On: March 17, 2023
So you're telling me the last spell I needed for 100 is no longer unlockable because I thought seb killing his uncle was wrong?! Like every other curse tells you if you do this you won't get i...[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]


Star Trek Online 2023 Event Campaign Progress Star Trek Online 2023 Event Campaign Progress

Posted On: March 7, 2023
The 2023 Event Campaign is now ongoing. There are a total of 5 events happening over the year, each requiring 14 days of progress. If for some reason, I was unable to get the 14 progress points necess...[More]


Can I use Xbox 360 controllers with Xbox Classic (first generation of Xbox)? Can I use Xbox 360 controllers with Xbox Classic (first generation of Xbox)?

Posted On: November 12, 2023
This is a tricky question and I can't find reliable answer anywhere on the Internet. I love my old Xbox Classic (the first Xbox console from 2001). Unfortunately both my original pads have died...[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]