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 get in this locked area inside a Binding of Isaac Rebirth: Repentance crawlspace? How do I get in this locked area inside a Binding of Isaac Rebirth: Repentance crawlspace?

Posted On: February 20, 2023
The latest DLC, Repentance, includes a new design for crawlspaces. This new room layout contains 2 pedestal items, one on top of the rightmost ladder, the other seemingly unaccessible, locked behind a...[More]


Steam Invalid SSL Certificate Steam Invalid SSL Certificate

Posted On: June 12, 2023
For the past few months I have been having an issue with Steam, and I have finally decided to ask about it. I've looked up solutions but none of them work, and nobody else has seemed to have had t...[More]


2 levels of fighter in Karlach is a must. Am I wrong? 2 levels of fighter in Karlach is a must. Am I wrong?

Posted On: November 7, 2023
She cannot compete with Laezel without Action Surge. I want to use her more but straight Barbarian is suboptimal for my one frontline melee spot. Question from user mrmrmrj at BaldursGate3 at reddi...[More]


Is there a limit to common boons, and what happens if you reach it? Is there a limit to common boons, and what happens if you reach it?

Posted On: March 27, 2024
In Hades, if you look at the 'normal' boons list, there seems to be 22 slots (4 rows that alternate 5 or 6 slots).Is that 22 limit a hard limit, and if you reach for your 23rd boon, what happens?Quest...[More]


Why are Fallouts computers so backwards? Why are Fallouts computers so backwards?

Posted On: April 16, 2024
The games are set in the future right? Circa 2077. But the terminals look like the computers back in the 1950's. When we actually had to type commands to get things done. Why is this? Im assuming it h...[More]


Great Hall area Field Guide Pages Great Hall area Field Guide Pages

Posted On: July 31, 2023
Can anyone please help me find the last field guide page in the Great Hall area? It says I only have 23 out of the 24 for that area. I have used online guides and visited every single one of the page ...[More]


What are Gibdo Guts useful for? What are Gibdo Guts useful for?

Posted On: August 9, 2023
Gibdo Guts are a rare drop from Gibdos (10%) and Moth Gibdos (20%), but they are much less useful than Gibdo Bones, which are much more common. They have a sale value of 2, which is one ruppee less th...[More]


What is the Font Used in Pokemon Conquest? What is the Font Used in Pokemon Conquest?

Posted On: January 26, 2023
What's the font used in Pokemon Conquest's dialogue? More specifically, since I assume it's some proprietary font compiled in the game, where have I seen it before? It looked extremely familiar as soo...[More]


Will switching fishing rods break my chain in Holocure Save The Fans? Will switching fishing rods break my chain in Holocure Save The Fans?

Posted On: September 26, 2023
When fishing at the Holo House, you catch extra bonus fish if you successfully catch multiple fish in a row. If I switch to a different fishing rod by talking to Bloop, will it break my fishing chain?...[More]


Do double damage taken modifiers from red skulls stack in Dead Cells? Do double damage taken modifiers from red skulls stack in Dead Cells?

Posted On: April 8, 2023
I picked up two items marked with red skulls that increase damage taken by 100%. However, I noticed the skull over my head still only says x2 instead of x3 or x4. Do double damage taken modifiers f...[More]