Article Categories
- Baldur's Gate 3
- Diablo
- Elder Scrolls
- General
- Hogwarts Legacy
- League of Legends
- Minecraft
- Pokemon Go
- Sims 4
- StarCraft
- Steam Platform
- Xbox Game Console
More Articles
Is it possible to use NBT tags in commands in Minecraft: Bedrock Edition?
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.
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.
How do I check if the HD textures are correctly loaded?
Is Engi Med-Bot Dispersal affected by MedBay upgrades?
Please Help Me Find This Hogwarts Goblin
Can the Haglins Satchel add any orb to your deck?
Can you cast a Patronus Charm in Hogwarts Legacy?
How can you be immune to damage from bed explosions in the nether?
Will a Star Fragment disappear if I use fast travel in Tears of the Kingdom?
Why does Nobody Comes to Fika not unlock in Crusader Kings 3?
How is the additional damage from Chosen weaknesses calculated?