Expand description
Those mobs are passive creatures that run away when attacked by a player. Vanilla Chicken entity with variant + sound-variant parity, wing-flap slow-fall, and periodic egg-laying behavior.
StructsΒ§
- Chicken
Entity - Vanilla chicken entity.
- Chicken
State π - Runtime state unique to chickens: wing-flap animation, egg timer, and jockey flag.
ConstantsΒ§
- CHICKEN_
BABY_ πDIMENSIONS - CHICKEN_
BABY_ πEYE_ HEIGHT - CHICKEN_
BABY_ πHEIGHT - CHICKEN_
BABY_ πPASSENGER_ ATTACHMENTS - CHICKEN_
BABY_ πWIDTH - CHICKEN_
JOCKEY_ πEXPERIENCE_ REWARD - Experience rewarded for a chicken jockey (vanilla
Chicken.getBaseExperienceReward). - EGG_
LAY_ πMIN_ DELAY_ TICKS - Minimum ticks between egg lays (vanilla
nextInt(6000) + 6000). - EGG_
LAY_ πRANDOM_ RANGE_ TICKS - Range of the randomized egg-lay delay in ticks.
- EGG_
LAY_ πSOUND_ BASE_ PITCH - EGG_
LAY_ πSOUND_ PITCH_ JITTER - Pitch jitter around the base egg-lay sound pitch.
- EGG_
LAY_ πSOUND_ VOLUME - EGG_
LAY_ πSPAWN_ Y_ OFFSET - Offset at which laid eggs spawn above the chickenβs feet.
- FALL_
DRAG_ πY - Downward velocity multiplier while airborne, producing the chicken slow-fall.
- FLAPPING_
STRENGTH_ πDECAY - Multiplicative flapping-strength decay per tick.
- FLAP_
ROTATION_ πSCALE - Scales accumulated flap rotation (vanilla
Chicken.aiStep). - FLAP_
SPEED_ πADJUST_ SCALE - Scales the per-tick flap-speed adjustment (vanilla
Chicken.aiStep). - FLAP_
SPEED_ πAIR_ GAIN - Flap speed gained per tick while airborne (vanilla
Chicken.aiStep). - FLAP_
SPEED_ πGROUND_ LOSS - Flap speed lost per tick while grounded (vanilla
Chicken.aiStep). - FLAP_
SPEED_ πMAX - FLAP_
SPEED_ πMIN - MIN_
FLAPPING_ πSTRENGTH - Flapping strength restored whenever the chicken is airborne.
- NEXT_
FLAP_ πSPEED_ DIVISOR - Divisor converting flap speed into the next flap distance threshold.