Ranged Attack (Effect) — SkBee

Addon: SkBee · Category: Effect · Since: 2.17.0

Syntax

make %livingentity% range attack %livingentities% [with charge %-number%]

Description

Make a RangedEntity perform a ranged attack. Requires PaperMC.

`with charge` = How "charged" the attack is (how far back the bow was pulled for Bow attacks). This should be a value between 0 and 1, represented as targetDistance/maxDistance.

RangedEntities: Drowned, Illusioner, Llama, Piglin, Pillager, Skeleton, Snowman, Stray, TraderLlama, Witch, Wither, WitherSkeleton.

Examples

make last spawned entity range attack player with charge 0.5

View source