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Β§
- SHOOT_
POWER π - Vanilla
EggItem.PROJECTILE_SHOOT_POWER. - THROW_
PITCH_ πJITTER_ BASE - Vanilla
EggItem.usethrow pitch jitter base. - THROW_
PITCH_ πJITTER_ SCALE - Vanilla
EggItem.usethrow pitch jitter scale:0.4 / (random * 0.4 + 0.8). - THROW_
SOUND_ πVOLUME - Vanilla
EggItem.usethrow sound volume. - THROW_
UNCERTAINTY π - Vanilla
EggItem.usethrow uncertainty (spawnProjectileFromRotation).