net.minecraft.world.entity.ai.goal

public class EatBlockGoal

extends Goal

ccw
net.minecraft.world.entity.ai.goal.EatBlockGoal
net.minecraft.class_1345
net.minecraft.entity.ai.goal.EatGrassGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalEatTile

Field summary

Modifier and TypeField
private static final int
a
EAT_ANIMATION_TICKS
field_30203
MAX_TIMER
private static final Predicate<BlockState>
b
IS_TALL_GRASS
field_6423
SHORT_GRASS_PREDICATE
private final Mob
c
mob
field_6424
mob
private final Level
d
level
field_6421
world
private int
e
eatAnimationTick
field_6422
timer

Constructor summary

ModifierConstructor
public (Mob mob)

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
public void
d()
start()
method_6269()
start()
public void
e()
stop()
method_6270()
stop()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public int
h()
getEatAnimationTick()
method_6258()
getTimer()
public void
a()
tick()
method_6268()
tick()