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]

Does Beaver Woodie get poison damage in Hamlets Gas Rainforest? Does Beaver Woodie get poison damage in Hamlets Gas Rainforest?

Posted On: February 7, 2023
As per the title:. I wonder if Woodie in beaver form takes damage from Hamlet's Gas Rainforest biome? So does it progressively lower the beaver meter? And does the rate of damage change? ...[More]


Crossed Wand final round Crossed Wand final round

Posted On: August 1, 2023
I just can't do it. I keep trying. That dummy practice is useless as its not at all like the real dual I just keep going back and back, and sie. The opponents even reheal? Sebastian is no bloody h...[More]


How do I get the ghillie suit? How do I get the ghillie suit?

Posted On: November 19, 2023
Sometimes while I play Call of Duty Modern Warfare 3 online, I see people with a ghillie suit to help them blend in to their surroundings. How do I get that costume? Question from user Scribblenaut...[More]


Are the Professor Layton and the Curious Village download puzzles still available? Are the Professor Layton and the Curious Village download puzzles still available?

Posted On: March 12, 2023
I just recently bought Professor Layton and the Curious Village (EU version) to play on my 3DS. It has a feature to download extra puzzles over the internet. My question is, are these puzzles st...[More]


Can I tell if an enemy is out of range in Elden Ring? Can I tell if an enemy is out of range in Elden Ring?

Posted On: August 10, 2023
I'm playing as an Astrologer, so my main means of attack is to cast spells from a distance, as I barely do any physical damage. However, I noticed that my spells have a certain range, and firin...[More]


How to move my save game to another PC in Raft? How to move my save game to another PC in Raft?

Posted On: February 21, 2023
I have a new PC and want to move my Raft saved game. Just copy/paste doesn't seem to work. I'm not using any digital platform or service. Question from user Juan Carlos Oropeza at gaming.st...[More]


Can I buy season 2 of The Walking Dead one game episode at a time? Can I buy season 2 of The Walking Dead one game episode at a time?

Posted On: March 25, 2023
I want to buy The Walking Dead Season 2 game episodes one at a time, and not have to buy them all on one disk, at one time. Is there anyway to do that? Question from user user69492 at gaming.stacke...[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]


What are decals for in Starcraft 2? What are decals for in Starcraft 2?

Posted On: May 6, 2023
What are the Decals in the rewards section used for? Question from user Erv Walter at gaming.stackexchange.com. Answer: Images of StarCraft II buildings and units with decals:. Answer from...[More]


The combat has ruined this game for me The combat has ruined this game for me

Posted On: March 31, 2025
I think I've given Baldur's Gate 3 a fair shake. I've played through most of Act 1 and I think the characters and writing are great. The combat on the other hand, is absolutely horrendous. Every actio...[More]