net.minecraft.world.entity.ai.goal

public class EatBlockGoal

extends Goal

cah
net.minecraft.world.entity.ai.goal.EatBlockGoal
net.minecraft.class_1345
net.minecraft.entity.ai.goal.EatGrassGoal
net.minecraft.src.C_680_
net.minecraft.world.entity.ai.goal.PathfinderGoalEatTile

Field summary

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

Constructor summary

ModifierConstructor
public (Mob mob)

Method summary

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