Expand description
Vanilla EatBlockGoal: a mob stops moving and chews for a fixed duration before
eating an edible block and running Mob.ate.
StructsΒ§
- EatBlock
Goal - A goal where a mob stands still and chews before eating an edible block.
ConstantsΒ§
- ADULT_
EAT_ πCHECK_ TICKS - BABY_
EAT_ πCHECK_ TICKS - Vanilla
EatBlockGoal.canUserollsnextInt(adjustedTickDelay(baby ? 50 : 1000)); babies check far more often so they regrow wool quickly. - EAT_
ANIMATION_ πTICKS - Constant mirroring vanilla
EatBlockGoal.EAT_ANIMATION_TICKS, the full animation length before the goalβs tick reaches the block-eating step. - EAT_
BLOCK_ πTICK - Constant mirroring vanilla
EatBlockGoalβs check point (adjustedTickDelay(4)).