net.minecraft.world.entity.ai.goal

public class EatBlockGoal

extends Goal

aov
net.minecraft.world.entity.ai.goal.EatBlockGoal
net.minecraft.class_1345
net.minecraft.entity.ai.goal.EatGrassGoal
net.minecraft.entity.ai.goal.EatGrassGoal
net.minecraft.server.v1_15_R1.PathfinderGoalEatTile

Field summary

Modifier and TypeField
private static final Predicate<BlockState>
a
IS_TALL_GRASS
field_6423
GRASS_PREDICATE
field_179505_b
private final Mob
b
mob
field_6424
mob
field_151500_b
private final Level
c
level
field_6421
world
field_151501_c
private int
d
eatAnimationTick
field_6422
timer
field_151502_a

Constructor summary

ModifierConstructor
public (Mob mob)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public int
g()
getEatAnimationTick()
method_6258()
getTimer()
func_151499_f()
public void
e()
tick()
method_6268()
tick()
func_75246_d()