Uploaded April 2022 | Updated November 2026, 1 day ago
/give and /replaceitem have special features that not alot of people know about. These things are NBT Components. In the /give and /replace item syntax they have a augment called components as type JSON. These components are actually super simple to understand. JSON formatted. Like NBT tags but supports only minecraft:can_place_on, minecraft:can_destroy, minecraft:item_lock and minecraft:keep_on_death functions.
Chapters:
0:00 Intro & component demo
2:34 Item components available in Bedrock
3:00 can_place_on & can_destroy
4:10 Writing the /give command
5:02 Block lists
6:05 Adventure mode behavior
7:00 item_lock: lock_in_inventory
8:01 item_lock: lock_in_slot
9:05 keep_on_death
10:06 Combining components
12:02 Data value bug & outro
NBT data for the Bedrock edition is minimal. The only values we have access to are:
CanPlaceOn
CanDestroy
KeepOnDeath
ItemLock.
These are used as part of a /give or replaceitem command and can edit specific properties of the items with said NBT.
Destroy: /give @p diamond_pickaxe 1 0 {"minecraft:can_destroy":{"blocks":["planks", "skull"]}}
Place on: /give @p stone 1 0 {"minecraft:can_place_on":{"blocks":["stone"]}}
Lock in any applicable slot in inventory: /give @p iron_axe 1 100 {"minecraft:item_lock":{ "mode": "lock_in_inventory" }}
Lock in a specific slot in inventory: /give @p apple 1 0 {"minecraft:item_lock":{ "mode": "lock_in_slot" }}
Item will remain in an entity's inventory when it dies: /replaceitem entity @e[type=zombie] slot.weapon.mainhand -1 cooked_beef 1 0 {"minecraft:keep_on_death":{}}
Give all players a bow that locks in a specific inventory slot and is kept on death: /give @a bow 1 0 {"minecraft:item_lock":{ "mode": "lock_in_slot" }, "minecraft:keep_on_death":{}}
Give self a stone shovel that can only dig up gravel and sand, and locks in inventory: /give @s stone_shovel 1 0 {"minecraft:can_destroy":{"blocks":["dirt", "sand"]},"minecraft:item_lock":{ "mode": "lock_in_inventory" }}
Assigning specific blocks and items with specific data values using "minecraft:can_place_on" and "minecraft:can_destroy" will return an error stating the NBT "could not be updated, which seems to be an unintended bug in this case.
/give @s cobblestone 64 0 {"minecraft:can_place_on":{"blocks":["stained_glass:2"]}}
/give @a wooden_axe 16 0 {"minecraft:can_destroy":{"blocks":["wool:5"]}}
Similarly to the issue above, specifying commands that generally do not make sense will also return a "could not be updated" error. Some examples include:
/give @a diamond 10 0 {"minecraft:can_place_on":{"blocks":["dirt"]}}
VIDEO AND DESCRIPTION COMMANDS ARE FROM: bedrock.dev:
https://wiki.bedrock.dev/commands/nbt-commands.html
Join this channel to get access to perks:
youtube.com/channel/UCbtRgldllSHEG7CnVp_04DQ/join
/give and /replaceitem have special features that not alot of people know about. These things are NBT Components. In the /give and /replace item syntax they have a augment called components as type JSON. These components are actually super simple to understand. JSON formatted. Like NBT tags but supports only minecraft:can_place_on, minecraft:can_destroy, minecraft:item_lock and minecraft:keep_on_death functions.
Chapters:
0:00 Intro & component demo
2:34 Item components available in Bedrock
3:00 can_place_on & can_destroy
4:10 Writing the /give command
5:02 Block lists
6:05 Adventure mode behavior
7:00 item_lock: lock_in_inventory
8:01 item_lock: lock_in_slot
9:05 keep_on_death
10:06 Combining components
12:02 Data value bug & outro
NBT data for the Bedrock edition is minimal. The only values we have access to are:
CanPlaceOn
CanDestroy
KeepOnDeath
ItemLock.
These are used as part of a /give or replaceitem command and can edit specific properties of the items with said NBT.
Destroy: /give @p diamond_pickaxe 1 0 {"minecraft:can_destroy":{"blocks":["planks", "skull"]}}
Place on: /give @p stone 1 0 {"minecraft:can_place_on":{"blocks":["stone"]}}
Lock in any applicable slot in inventory: /give @p iron_axe 1 100 {"minecraft:item_lock":{ "mode": "lock_in_inventory" }}
Lock in a specific slot in inventory: /give @p apple 1 0 {"minecraft:item_lock":{ "mode": "lock_in_slot" }}
Item will remain in an entity's inventory when it dies: /replaceitem entity @e[type=zombie] slot.weapon.mainhand -1 cooked_beef 1 0 {"minecraft:keep_on_death":{}}
Give all players a bow that locks in a specific inventory slot and is kept on death: /give @a bow 1 0 {"minecraft:item_lock":{ "mode": "lock_in_slot" }, "minecraft:keep_on_death":{}}
Give self a stone shovel that can only dig up gravel and sand, and locks in inventory: /give @s stone_shovel 1 0 {"minecraft:can_destroy":{"blocks":["dirt", "sand"]},"minecraft:item_lock":{ "mode": "lock_in_inventory" }}
Assigning specific blocks and items with specific data values using "minecraft:can_place_on" and "minecraft:can_destroy" will return an error stating the NBT "could not be updated, which seems to be an unintended bug in this case.
/give @s cobblestone 64 0 {"minecraft:can_place_on":{"blocks":["stained_glass:2"]}}
/give @a wooden_axe 16 0 {"minecraft:can_destroy":{"blocks":["wool:5"]}}
Similarly to the issue above, specifying commands that generally do not make sense will also return a "could not be updated" error. Some examples include:
/give @a diamond 10 0 {"minecraft:can_place_on":{"blocks":["dirt"]}}
VIDEO AND DESCRIPTION COMMANDS ARE FROM: bedrock.dev:
https://wiki.bedrock.dev/commands/nbt-commands.html
Join this channel to get access to perks:
youtube.com/channel/UCbtRgldllSHEG7CnVp_04DQ/join










![HOW TO CREATE PERSONAL STATS/SCOREBOARD | Minecraft Bedrock | PS,Win10,PE,XBOX | 1.18+
How to make a personal scoreboard in Minecraft Bedrock: show each player their own stats (money, kills, time played) in a custom sidebar with /titleraw.
Create custom beautiful scoreboards into your world/realms/servers and display PERSONAL stats for each player. Using /titleraw and rawtext components we are able to display many different stats and components. Create custom personal sidebars with beautiful-looking UI and fast and easy-to-use commands. This is a pack for Minecraft Bedrock 1.18+ and is compatible with all devices on MCBE/MCPE. Download now.
Chapters:
0:00 Intro: Smelly Sidebars demo
0:50 Downloading the pack
2:30 Applying the pack to your world
2:55 The /titleraw command
3:20 Linking an objective (money)
4:10 Creating the scoreboard objective
5:00 Keeping the line layout
5:25 Wrap-up
UI MADE BY: CARROTSTICKCAM
Command for base stats:
titleraw @a title {rawtext: [{ text: nnnnn §•§l§cYour Stats:§r },{ text: n§r§l • §7Time Played: §f${0} },{ text: n§r§l • §7Money: §a$${0} },{ text: n§r§l • §7Kills: §c${0} },{ text: n§r§l • §7Deaths: §c${0} },{ text: nn §l§cFaction Info:§r§l },{ text: n§r§l • §7Name: §fN/A },{ text: n§r§l • §7Role: §fN/A },{ text: n§r§l • §7Power: §fN/A },{ text: nn §eRealms.gg/MUiYfM7pE2Mn §eDiscord.gg/ZpTBFmEb2Kn }]}
Join this channel to get access to perks:
https://www.youtube.com/channel/UCbtRgldllSHEG7CnVp_04DQ/join
Personal sidebars (newer version): https://youtu.be/KrXtL9KFaJk
Personal scoreboard with /titleraw: https://youtu.be/b9Ht66K4oNo
Playlist, Minecraft Bedrock Commands Tutorials: https://www.youtube.com/playlist?list=PLMTrQ3OD1Cac
#MinecraftBedrock #MinecraftCommands #MCPE HOW TO CREATE PERSONAL STATS/SCOREBOARD | Minecraft Bedrock | PS,Win10,PE,XBOX | 1.18+](https://i.ytimg.com/vi/BqGR2zW5ZMI/mqdefault.jpg)