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]

Is there an easier Whistle Sprint Alternative to execute in Tears Of The Kingdom? Is there an easier Whistle Sprint Alternative to execute in Tears Of The Kingdom?

Posted On: July 25, 2023
Whistle Sprinting is a glitch in Breath of the Wild where you hold the whistle button and tap the B button to continuously sprint without draining stamina. In Tears of the Kingdom, this glitch has ...[More]


I love Hogwarts Legacy but have horrible arachnophobia I love Hogwarts Legacy but  have horrible arachnophobia

Posted On: March 12, 2023
Question from user Xray_Abby at HogwartsLegacyGaming at reddit.com. Answer: True. That quest for Deek: absolute nightmare. Answer from user TheShockingMenace at HogwartsLegacyGaming at reddit...[More]


How do I skip the Opening Intro Videos without clicking? How do I skip the Opening Intro Videos without clicking?

Posted On: January 14, 2023
When you start Rocket League, there are 2 annoying videos that start every time you launch the game, you can skip them by clicking the mouse button, but I'd like to skip them all together. Is i...[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]


Anyone else not using the Hogwarts Legacy curses? Anyone else not using the Hogwarts Legacy curses?

Posted On: June 8, 2023
Question from user Zealousideal_Chef137 at HogwartsLegacyGaming at reddit.com. Answer: I did on one of my playthroughs; I put a lot of points into potions and plants. It was a great time. I e...[More]


Does every shrine in Tears of the Kingdom have a treasure chest? Does every shrine in Tears of the Kingdom have a treasure chest?

Posted On: May 14, 2023
Do all of the shrines in The Legend of Zelda: Tears of the Kingdom have at least one treasure chest? Question from user ahsteele at gaming.stackexchange.com. Answer: Yes. Tears of the Kingdom...[More]


What is a good road layout when starting up a Sim City? What is a good road layout when starting up a Sim City?

Posted On: June 26, 2023
First things first: I know it depends on the resources etc how exactly you start out. Whenever you start out with a new city, you need to make sure you don't run into traffic problems later....[More]


Anyone know where the last Hogwarts side mission is? Anyone know where the last Hogwarts side mission is?

Posted On: March 25, 2023
Question from user brutal_slayer99 at HogwartsLegacyGaming at reddit.com. Answer: Did you have any quests where you had already completed them before receiving the quest? That happened to me and...[More]


How do I get my free Far Cry Blood Dragon Classic Edition? How do I get my free Far Cry Blood Dragon Classic Edition?

Posted On: April 10, 2024
I bought Far Cry 6: Gold Edition from the PS Store on PS4 (Pro) a few months back and only now realised that, as well as most DLCs, it says I get Far Cry Blood Dragon Classic Edition for free, but I h...[More]


How do I get the missile upgrade blocked by a fan in Area 1? How do I get the missile upgrade blocked by a fan in Area 1?

Posted On: December 18, 2023
Near the top of Area 1, there is an area on the ceiling accessible using the spider Spider Ball with a missile upgrade behind a wall. The upgrade near a fan that sucks up bombs, preventing me from bre...[More]