Skip to main content

Module snowball

Module snowball 

Source
Expand description

Thrown snowball projectile entity (Snowball).

Mirrors vanilla Snowball on the Steel Projectile โ†’ ThrowableProjectile โ†’ ThrowableItemProjectile trait stack. On entity impact it deals 0 thrown damage (3 to blazes) so the hit registers, then broadcasts the item-break entity event and discards itself.

Structsยง

SnowballEntity
A thrown snowball.

Constantsยง

BLAZE_HIT_DAMAGE ๐Ÿ”’
Thrown damage dealt to a blaze (vanilla Snowball.onHitEntity).