ItemComponent - Intangible Projectile (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.8.0

Syntax

[the] intangible projectile component of %itemstacks/itemtypes/slots%

Description

If applied, a projectile item can't be picked up by a player when fired, except in creative mode. If the item does not have this component, it will return null, not false. See [**Intangible Projectile Component**](https://minecraft.wiki/w/Data_component_format#intangible_projectile) on McWiki for more details.

**Changers**: - `set` = If set to true, the component will be applied, otherwise removed. - `reset` = Reset back to default state. - `delete` = Will delete any value (vanilla or not).

Examples

set intangible projectile component of player's tool to true
delete intangible projectile component of player's tool
reset intangible projectile component of player's tool

View source