Skip to main content

Module egg

Module egg 

Source
Expand description

Egg item behavior (EggItem).

Throwing an egg spawns a ThrownEggEntity from the player’s eye, shot along their look direction, and consumes one egg unless the player has infinite materials. Mirrors vanilla EggItem.use.

Structs§

EggItem
Behavior for the egg item.

Constants§

THROW 🔒
Sound, shoot power and spread used when throwing an egg.