ItemComponent - Damage Type (Expression) — SkBee
Addon: SkBee · Category: Expression · Since: 3.16.0
Syntax
[the] damage type [component] of %itemstacks/itemtypes/slots%Description
Represents the damage type component of an item. See [**Damage Type**](https://minecraft.wiki/w/Data_component_format#damage_type) on McWiki for more details. Requires Minecraft 1.21.11+
**Changers**: `set` = Will set the damage type of the item. `delete` = Will delete the damage type of this item. `reset` = Will reset the damage type back to the original value.
Examples
set damage type of player's tool to cactus
delete damage type of player's tool
reset damage type component of player's tool