ItemComponent - Charged Projectiles (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.8.0

Syntax

charged projectiles [component] of %itemstacks/itemtypes/slots%

Description

The items loaded as projectiles into a crossbow. If not present, the crossbow is not charged. See [**Charged Projectiles Component**](https://minecraft.wiki/w/Data_component_format#charged_projectiles) on McWiki for more details. Requires Paper 1.21.3+

**Changers**: - `set` = Set the items to be loaded by the crossbow. - `reset` = Reset back to default state. - `delete` = Will delete any value (vanilla or not).

Examples

set charged projectiles of player's tool to an arrow and a stick
delete charged projectiles component of player's tool
reset charged projectiles component of player's tool

View source