Expand description
Thrown egg projectile entity (ThrownEgg).
Mirrors vanilla ThrownEgg (yarn EggEntity) on the Steel
Projectile → ThrowableProjectile → ThrowableItemProjectile trait stack.
On impact it may hatch one chick (or four with a rarer roll), each born as a
baby that inherits the egg stack’s chicken/variant component when present.
The egg then broadcasts the item-break entity event and discards itself.
Structs§
- Thrown
EggEntity - A thrown egg.
Constants§
- BABY_
CHICK_ 🔒AGE - Baby chicken start age applied to hatched chicks (vanilla
getBabyStartAge). - HATCH_
ROLL_ 🔒DENOMINATOR - Denomator of the one-in-eight hatch chance (vanilla
ThrownEgg.onHit). - QUAD_
HATCH_ 🔒COUNT - Chicks born when the quadruple roll succeeds.
- QUAD_
HATCH_ 🔒ROLL_ DENOMINATOR - Denominator of the one-in-thirty-two quadruple-hatch chance.
- ZERO_
SIZED_ 🔒DIMENSIONS - Zero-sized dimensions used as the pre-hatch footprint (vanilla
ThrownEgg.ZERO_SIZED_DIMENSIONS).