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]

Third Person Mode for Portal - Portal 2 Third Person Mode for Portal - Portal 2

Posted On: June 1, 2023
I picked up Portal and Portal 2 when they were on sale on Steam a few weeks back. I think these could be really good games, but I (for whatever reason) get vertigo when playing first person games. ...[More]


Cant click on two buttons at the same time on gaming mouse Cant click on two buttons at the same time on gaming mouse

Posted On: August 19, 2023
When I play Fortnite i want to build quick. I noticed that my gaming mouse "Star Raider CND-SGM1" doesn't recognize when I FIRST hold my left click and than I click on "back key&quo...[More]


Using in game mod manager locks you out of achievements Using in game mod manager locks you out of achievements

Posted On: September 15, 2024
This is a major PSA for anyone thinking about using mods: If you still want to earn achievements, do not turn those mods on! Even if it's just for some hair or clothing. .As someone who has never used...[More]


How do I keep my animals from eating my people food in Rimworld? How do I keep my animals from eating my people food in Rimworld?

Posted On: May 22, 2023
I've got a reasonably flourishing village with decent population and all the amenities. However, lately I've been having severe issues because my tame animals keep breaking into the food wareh...[More]


How can I keep monsters out of my nether regions? How can I keep monsters out of my nether regions?

Posted On: January 24, 2017
In order to find myself some nice lapis lazuli and get away from my current base, I'm building a little tunnel in the Nether to allow me to get into the midst of some fresh chunks fairly quickly.I hav...[More]


I turned Karlach into a hell hound by accident. I turned Karlach into a hell hound by accident.

Posted On: November 24, 2024
Question from user Annepackrat at BaldursGate3 at reddit.com.Answer:Hope youre doing well, soldier.Answer from user Cambyses-II at BaldursGate3 at reddit.com....[More]


In Hogwarts is it possible to change audio language? In Hogwarts is it possible to change audio language?

Posted On: February 10, 2023
I am playing the Japanese version of Hogwarts Legacy on PC (Steam). The store page says that Hogwarts Legacy has Full Audio support for 8 languages, including Japanese. But, for immersion, I want t...[More]


How can I disable use of a macro if a spell is on cooldown? How can I disable use of a macro if a spell is on cooldown?

Posted On: January 29, 2023
As a Shadow Priest, I use a macro to announce to those nearby who I'm casting Power Infusion on. I do this for clarity in a raid and Mythic+ setting. It works fairly well.The problem I'm encountering ...[More]


“Rest in the Crèche” My Lae’zel cosplay “Rest in the Crèche” My Lae’zel cosplay

Posted On: February 9, 2025
Question from user Frau_Haku at BaldursGate3 at reddit.com.Answer:I was really looking forward to Sunday to share this work! The photographer and I wanted to show Lae’zel from many angles, quite vul...[More]


Nexus Mod Manager and Archive Files Nexus Mod Manager and Archive Files

Posted On: February 9, 2023
The Nexus Mod Manager has my non-steam mod archives stored in C:\Games\Skyrim\mods. Do the archives I have downloaded contain redundant information, and do I need to keep these downloaded copies? Will...[More]