ItemComponent - Clear/Reset Components (Effect) — SkBee

Addon: SkBee · Category: Effect · Since: 3.11.0

Syntax

(clear|remove|unset|reset) %datacomponenttypes% (item|data) component[s] of %itemstacks/itemtypes/slots%

Description

Clear/reset data components of an item. Requires Minecraft 1.21+ - `clear/remove/unset` = Will remove the component from the item. - `reset` = Will reset the data component of the item back to its default value.

Examples

clear food component of player's tool
clear tool component of player's tool
reset attribute modifier component of player's tool

View source