net.minecraft.world.entity.ai.goal

public class EatBlockGoal

extends Goal

cae
net.minecraft.world.entity.ai.goal.EatBlockGoal
net.minecraft.class_1345
net.minecraft.unmapped.C_krmsprar
net.minecraft.entity.ai.goal.EatGrassGoal
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
f_tclzhvfv
MAX_TIMER
MAX_TIMER
f_148085_
private static final Predicate<BlockState>
b
IS_TALL_GRASS
field_6423
f_xufbzbun
SHORT_GRASS_PREDICATE
GRASS_PREDICATE
f_25201_
private final Mob
c
mob
field_6424
f_zenfykhi
mob
mob
f_25202_
private final Level
d
level
field_6421
f_xixjffhf
world
world
f_25203_
private int
e
eatAnimationTick
field_6422
f_xjozqnyd
timer
timer
f_25204_

Constructor summary

ModifierConstructor
public (Mob mob)

Method summary

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