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]

Best Hogwarts Legacy Magic Combo Button Layouts Best Hogwarts Legacy Magic Combo Button Layouts

Posted On: June 6, 2023
Just picked up the game on PS5 and loving it. But I’m wondering what people think are the best combos to set up for their magic. I’m about 35% of the way through the game so I have a fair ...[More]


With proper aim can an Ambassador always one-shot a sniper? With proper aim can an Ambassador always one-shot a sniper?

Posted On: January 29, 2023
I'm working on my Skullpluggery achievement for Spy. For a while I thought it was straight-forward -- just point, pause (for accuracy), and fire. Worked everytime, until lately, where my lucky str...[More]


How do you clear all item drops in Minecraft? How do you clear all item drops in Minecraft?

Posted On: April 21, 2023
How do you clear all item drops in Minecraft? I want to have something activated by an Item landing on a golden pressure plate, but It can only be activated once. Is there any command block command...[More]


Did any of Metagaming Concepts board games make it to the PC? Did any of Metagaming Concepts board games make it to the PC?

Posted On: June 11, 2023
I loved Metagaming Concepts' board games like Ogre and WarpWar and always thought that they could have been made into PC games. Did any of Metagaming Concepts' board games make it to the PC...[More]


Is there an easier Whistle Sprint Alternative to execute in Tears Of The Kingdom? Is there an easier Whistle Sprint Alternative to execute in Tears Of The Kingdom?

Posted On: July 25, 2023
Whistle Sprinting is a glitch in Breath of the Wild where you hold the whistle button and tap the B button to continuously sprint without draining stamina. In Tears of the Kingdom, this glitch has ...[More]


What is the most feasible option to play (almost) all Zelda games? What is the most feasible option to play (almost) all Zelda games?

Posted On: January 23, 2023
Given the timeline list of games on The Legend of Zelda - Wikipedia, what would be the most feasible option to preferably legally play all (or a vast majority of) the games in the series? These are...[More]


Can't find the last conjuration in Hogwarts Legacy??? Can't find the last conjuration in Hogwarts Legacy???

Posted On: April 18, 2023
So I have been spending hours and hour to get the platinum achievement on PS5. Now I only miss the last achievement (Collectors edition).I have checked all the butterflie locations, all caves and e...[More]


What video game is played in the movie “Drugstore June”? What video game is played in the movie “Drugstore June”?

Posted On: March 11, 2024
In the comedy film Drugstore June (2024), June’s (Esther Povitsky) brother, Jonathan (Brandon Wardell), is depicted engrossed in a first-person multiplayer team-based video game. .The player charac...[More]


Downloading windows version of steam games on a mac to copy over to a pc Downloading windows version of steam games on a mac to copy over to a pc

Posted On: June 9, 2023
I am sharing an internet connection with a few roommates and have a data cap. I would love to be able to use my MacBook to download games onto it, create Steam backups and install them on Windows. ...[More]


This happened when giving Karlach a soul coin in Act 3 This happened when giving Karlach a soul coin in Act 3

Posted On: November 13, 2025
I recently posted about a scene that happens if you have Karlach consume a soul coin after transforming into an Illithid. It was requested I provide a video, so after far too much frustration to get t...[More]