net.minecraft.entity.ai.goal

public class EatGrassGoal

extends Goal

agk
net.minecraft.class_891
net.minecraft.entity.ai.goal.EatGrassGoal
net.minecraft.entity.ai.EntityAIEatGrass
net.minecraft.entity.ai.EntityAIEatGrass

Field summary

Modifier and TypeField
private static final Predicate<BlockState>
a
field_16847
IS_TALLGRASS
field_179505_b
IS_TALL_GRASS
private final MobEntity
b
field_3483
mob
field_151500_b
grassEaterEntity
private final World
c
field_3484
world
field_151501_c
entityWorld
private int
d
field_3482
timer
field_151502_a
eatingGrassTimer

Constructor summary

ModifierConstructor
public (MobEntity mob)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
func_75250_a()
shouldExecute()
public void
c()
method_2747()
start()
func_75249_e()
startExecuting()
public void
d()
method_2745()
stop()
func_75251_c()
resetTask()
public boolean
b()
method_2744()
shouldContinue()
func_75253_b()
shouldContinueExecuting()
public int
g()
method_2740()
getTimer()
func_151499_f()
getEatingGrassTimer()
public void
e()
method_2746()
tick()
func_75246_d()
tick()