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]

How do I unlock Floaro Gardens in Pokémon Legends: Arceus How do I unlock Floaro Gardens in Pokémon Legends: Arceus

Posted On: July 12, 2023
I want to unlock Floaro Gardens in Pokémon Legends: Arceus, but I didn't play Pokémon Sword or Shield. Is there any way to unlock it? Question from user Maria Zapata at stackexcha...[More]


Efficient use of Construction Robots Efficient use of Construction Robots

Posted On: January 5, 2024
I often find myself constructing things using blueprints because it's so much easier than laying multiple things by hand. I was recently doing this at a remote mine site, that I had connected via ...[More]


Addicted to the game Addicted to the game

Posted On: September 14, 2023
Got the game and ps5 recently. I always try to limit my playtime but alwaysss end up playing for sooooo long! Its super addictive and fun!! Where’s my hufflepuffs?!. Question from user Fiery-...[More]


Team Fortress 2 Bonus Points and How To Get Them Team Fortress 2 Bonus Points and How To Get Them

Posted On: June 11, 2023
Is there a comprehensive list of ways to earn bonus points in TF2?. I have seen here and there one way to do it with this class or the other, but there seems to be no complete list that I've fo...[More]


How do I get SCUBA gear in GTA 5? How do I get SCUBA gear in GTA 5?

Posted On: April 25, 2023
I am looking for a way to equip Scuba gear outside of a mission. I know that you are automatically equipped with scuba gear when you exit the Submersible while in water. Can anyone other than th...[More]


What is this white rhombus icon on the mini map in Enter the Gungeon? What is this white rhombus icon on the mini map in Enter the Gungeon?

Posted On: February 5, 2023
In Enter the Gungeon, this white distorted rectangle icon appeared after I cleared a room in floor 1:.The room looks empty and the icon on the mini map seems to correspond to the walls in the center:....[More]


If I can only buy games as gifts on Steam and not as keys, where do 3rd party resellers get theirs? If I can only buy games as gifts on Steam and not as keys, where do 3rd party resellers get theirs?

Posted On: October 16, 2023
3rd party game key resellers like Kinguin or G2A sell game keys right? Supposedly the key sellers are just other users. I as a user as well cannot seem to buy keys from Steam though? I can only buy th...[More]


What types of kills are counted on Strange Flamethrowers? What types of kills are counted on Strange Flamethrowers?

Posted On: April 9, 2024
When playing Team Fortress 2, I noticed that my Strange Flare Gun had more than double the amount of kills my Strange Degreaser had (I started using both of them at about the same time). Even though I...[More]


Is Hogwarts Legacy worth buying? Is Hogwarts Legacy worth buying?

Posted On: March 15, 2023
I’m not a big gamer, but I consider myself a big Harry Potter fan. The thing is, I’m very confused about this game. It looks amazing, but I’m afraid that I’ll be spending my mo...[More]


Does a physical copy of Batman: Arkham City Armored Edition need any extra install size on Wii U? Does a physical copy of Batman: Arkham City Armored Edition need any extra install size on Wii U?

Posted On: March 25, 2023
Does a physical copy of Batman: Arkham City Armored Edition need any extra install size on Wii U, and how much needed space it takes? . I'm asking because i want to get it but i only have left ...[More]