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]

In YuGiOh, How to verify if a card is banned, limited, semi-limited for an event festival In YuGiOh, How to verify if a card is banned, limited, semi-limited for an event festival

Posted On: February 16, 2023
There are two events coming soon in Yu-Gi-Oh! Master Duel, the Legends Anthology, and the XYZ Festival.If I were to pre-build decks for those events, how do I verify if the card I want to use can be u...[More]


Tactical stance in COD MW3 - is there RL equivalent? Tactical stance in COD MW3 - is there RL equivalent?

Posted On: January 19, 2024
The new tactical stance in COD MW3 - is it based on reality? I can't imagine why holding a weapon tilted would give you an advantage in combat. Any insight? Question from user Boppity Bop at st...[More]


Will setting your time to April 1st bring back April Fools features on Minecraft? Will setting your time to April 1st bring back April Fools features on Minecraft?

Posted On: February 24, 2023
As most people know Minecraft had an April Fools update that removed the inventory entirely only allowing you to pick up one block/item at a time. I was not able to play on April first though so I ...[More]


How do damage upgrades of the same type stack in Dead Cells? How do damage upgrades of the same type stack in Dead Cells?

Posted On: April 13, 2023
When I pick up an upgrade scroll I can increase my attack power for brutality, tactic, or survival objects by 15%. How do damage increases of the same type stack with each other? Are they additive or ...[More]


Can I alter the biome of an area? Can I alter the biome of an area?

Posted On: January 12, 2023
In part 3 of my adventures, I would like to find out if there is a way to change biomes. In part 2, fredley said that it is possible to move terrain from one world to another, but the biomes wouldn...[More]


Where do I sell Specials? Achievement: Arent you Special in Farmville? Where do I sell Specials? Achievement: Arent you Special in Farmville?

Posted On: April 13, 2023
How can I sell the specials? I would like to get the Google Play achievement but my selling board does not have a "special". I am level 52. I understand I may be lacking some requireme...[More]


How can I use the trackpad for the sliders like the stars of the Vita version of f & f 2nd? How can I use the trackpad for the sliders like the stars of the Vita version of f & f 2nd?

Posted On: March 15, 2024
On the PlayStation Vita version of Hatsune Miku Project Diva f and f 2nd, you have stars, which you activate by moving your finger on the touch screen on any direction.Now that I have Hatsune Miku Pro...[More]


EU4: Why is my personal union ending? EU4: Why is my personal union ending?

Posted On: August 5, 2023
I am playing as Aragon and I have a personal union with Castile. My ruler is called "Alfons VI de Trastámara". Everything is well, Castile's opinion of me is 200, and I have just ...[More]


Yenna doesn't get enough love. Yenna doesn't get enough love.

Posted On: March 6, 2026
I was going through a few reddit threads to get an idea of whether or not to accept the deals of Orin and Gortash, and whenever someone mentioned the kidnapping, they showed the least care for poor Ye...[More]


What advantage do I get by evolving my Pokemon? What advantage do I get by evolving my Pokemon?

Posted On: April 10, 2023
I know that if I postpone my Pokemon's evolution, I can learn certain moves earlier. For example, Mareep learns Thunder at level 55 while its fully evolved form, Ampharos, only gets it at level 79...[More]