HomeBedrockAddonsChange/testfor Item Data eg. Names, lore, dur (with player scores)
Change/testfor Item Data eg. Names, lore, dur (with player scores)
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 CurseForge
Core 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
┌───────────────────────────────────────────────────────────────────────┐
│                       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
2. Modifying vs. Detecting Stack Sizes
3. Maintenance Utility 
If temporary tags fail to clear automatically, you can manually purge them using:
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.

Explore more