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]

Fallout 4 wont launch after Xbox update Fallout 4 wont launch after Xbox update

Posted On: April 25, 2024
After the Xbox update on December 6th to version 10.0.25398.2917 I am unable to start Fallout 4 anymore. The loading screen is shown, but nothing else happens.As this is the only game I have installed...[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]


What are your worst dice roll experiences? What are your worst dice roll experiences?

Posted On: September 27, 2023
Last night, I was lockpicking something with 20 DC. I have +12 in bonuses and the 1d4 guidance roll. So essentially, on any roll, I have +13-17 bonus, which means the dice would have to roll a 6 or lo...[More]


I need some help with multiclassing I need some help with multiclassing

Posted On: July 1, 2024
Stepping into BG3 again. Honestly? I forgot how much fun this is! I’m half way to level 6 on this current play through as a Druid (not my normal choice but so munch fun!) .With having never played D...[More]


This game is BYO immersion This game is BYO immersion

Posted On: July 13, 2023
Regarding the conversation on how immersive this game is / how immersive it could be: I’ve been having a delightful time doing a kind of DIY immersion. Here’s what I do:. return to the ...[More]


Hogwarts Legacy Help 100% please Hogwarts Legacy Help 100% please

Posted On: July 29, 2023
Can somebody please walk me through what I'm missing for the platinum? I'm missing 1 revelio page in hogwarts and I don't know which one it is, I've tried guides and everything, I just...[More]


What is the Mod Power Requirement? What is the Mod Power Requirement?

Posted On: August 2, 2023
Now I have completed the tutorial boss I have the chance to craft a mod for my weapon. Here is one of the options. This one has a 'Mod Power Requirement' of 600. What is this requirement an...[More]


What game is this music featured in Garrys Mod Idiot Box from? What game is this music featured in Garrys Mod Idiot Box from?

Posted On: September 3, 2023
I was watching some funny Garry's Mod Idiot Box episodes on YouTube. In episode 3 at 5:41 is a scene that has some music being played in the background. What game is from? It sounds so familiar to...[More]


How to view your Steam Year in Review from your profile? How to view your Steam Year in Review from your profile?

Posted On: December 20, 2023
I am unable to find a place where I can see the "My year in review" from my steam profile. I received a mail about it, and thought it was quite informative, and would like to compare this ye...[More]


Are Distances in the Zelda Tears Depths Smaller than on the Overworld? Are Distances in the Zelda Tears Depths Smaller than on the Overworld?

Posted On: June 9, 2023
I have nothing to prove it but it does feel like distances in the depths, like between 2 lightroots, are smaller than if I was to walk between the 2 associated shrines on the overworld. Is there a ...[More]