ItemComponent - Minimum Attack Charge (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.16.0

Syntax

[the] min[imum] attack charge [component] of %itemstacks/itemtypes/slots%

Description

Represents the minimum attack charge component of an item. The minimum attack charge on the attack indicator required to attack with this item. Must be a non-negative float between 0.0 and 1.0 See [**Minimum Attack Charge**](https://minecraft.wiki/w/Data_component_format#minimum_attack_charge) on McWiki for more details. Requires Minecraft 1.21.11+

**Changers**: `set` = Will set the minimum attack charge of the item. `delete` = Will delete the minimum attack charge of this item. `reset` = Will reset the minimum attack charge back to the original value.

Examples

set minimum attack charge of player's tool to 0.5
delete minimum attack charge of player's tool
reset minimum attack charge component of player's tool

View source