AddonsBedrock
Change/testfor Item Data eg. Names, lore, dur (with player scores)
Change/test for item data such as item names, lore, dur, amount, enchantments and so so much more
⬇ Download on CurseForgeCore Overview
| Feature | Change Mode 🛠️ | Test Mode 🔍 |
|---|---|---|
| Primary Purpose | Modifies item properties in real time. | Reads item properties and outputs them as tags. |
| Vanilla Interaction | Executes changes requested by vanilla commands. | Passes deep item data back to vanilla command blocks. |
| Data Persistence | Permanent (changes stay on the item until altered). | Temporary (tags delete themselves after 2 game ticks). |
| Special Engine Logic | Clones ItemStack to bypass write-lock limitations. |
Sanitizes complex object strings into valid tag formats. |
| Unique Feature | Real-time scoreboard placeholder replacement {objective}. |
Multi-tag "pulse" detailing types, amounts, and enchants. |
Command Syntax
Change Mode Syntax
text
/scriptevent inventory:player <slot> <property> <value>
Use code with caution.
<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_29/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button>
<button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_29/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button>
Test Mode Syntax
text
/scriptevent inventory:player <slot>
Use code with caution.
<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_2o/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button>
<button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_2o/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button>
(Note: Test Mode only requires the slot argument to scan the item).
Supported Slots & Properties
- Universal Slots (Both Modes):
mainhand,offhand,helmet,chest,legs,feet, and numbers0through35.
┌───────────────────────────────────────────────────────────────────────┐
│ CHANGE MODE PROPERTIES │
├───────────────────┬───────────────────────────────────────────────────┤
│ nameTag / lore │ Renames items or changes lore lines (comma sept). │
│ amount │ Alters the stack count (1-64). │
│ keepOnDeath │ Sets true / false inventory retention. │
│ lockMode │ Sets slot, inventory, or none lock states. │
│ canDestroy / Place│ Updates Adventure mode block rules. │
│ durability │ Repairs, breaks, or increments tool health. │
│ enchant │ Adds, removes, or clears item enchantments. │
│ setDynamicProperty│ Binds hidden database strings to the item. │
└───────────────────┴───────────────────────────────────────────────────┘
Practical Examples
1. Modifying vs. Detecting Enchantments
- Change Mode: Add Sharpness 5 to your held sword.
text
/scriptevent inventory:player mainhand enchant minecraft:sharpness:5:addUse code with caution.<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_42/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button><button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_42/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button> - Test Mode: Check if a player's helmet has Mending (run in a repeating command block).
text
/execute as @a[tag=helmet:enchantments:minecraft:mending] run say Your helmet has Mending!Use code with caution.<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_4c/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button><button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_4c/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button>
2. Modifying vs. Detecting Stack Sizes
- Change Mode: Force the item stack in slot 0 to become a full stack of 64.
text
/scriptevent inventory:player 0 amount 64Use code with caution.<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_4z/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button><button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_4z/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button> - Test Mode: Congratulate any player holding a full stack of items.
text
/execute as @a[tag=mainhand:amount:64] run say You are holding a full stack!Use code with caution.<button class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_59/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button><button id="" class="FTsWP RmjGdc IsqrXb" aria-label="Copy code text to clipboard." aria-describedby="undefined" data-tooltip-classes="undefined" data-is-tooltip-wrapper="undefined" data-sfc-cp="" data-wiz-attrbind="disabled=nUHwwe_59/ggNWmb" data-sfc-root="c" data-complete="true" data-copy-service-computed-style="font-family: Arial; font-size: 13.3333px; font-weight: 400; margin: 0px; text-decoration: none; border-bottom: 0px rgb(86, 89, 94);"></button>
3. Maintenance Utility
If temporary tags fail to clear automatically, you can manually purge them using:
- Remove all active test tags from yourself:
/scriptevent tag:get clear - Remove only mainhand tags from yourself:
/scriptevent tag:get filter mainhand
AND SOOOOOOO MUCHHHH MOREEEEE
Change/testfor Item Data eg. Names, lore, dur (with player scores) is a free Minecraft Bedrock addon. Compatible with Minecraft 26.40. Downloaded 4 times (via CurseForge). Download it and open it directly in the game.