Skip to main content

Module snowball

Module snowball 

Source
Expand description

Snowball item behavior (SnowballItem).

Throwing a snowball spawns a SnowballEntity from the player’s eye, shot along their look direction, and consumes one snowball unless the player has infinite materials. Mirrors vanilla SnowballItem.use.

Structs§

SnowballItem
Behavior for the snowball item.

Constants§

THROW 🔒
Sound, shoot power and spread used when throwing a snowball.