net.minecraft.entity.ai.goal

public class EatGrassGoal

extends Goal

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

Field summary

Modifier and TypeField
private static final com.google.common.base.Predicate<BlockState>
b
field_11932
IS_TALLGRASS
field_179505_b
private MobEntity
c
field_3483
mob
grassEaterEntity
private World
d
field_3484
world
entityWorld
int
a
field_3482
timer
eatingGrassTimer

Constructor summary

ModifierConstructor
public (MobEntity mob)

Method summary

Modifier and TypeMethod
public boolean
a()
method_2742()
canStart()
shouldExecute()
public void
c()
method_2747()
start()
startExecuting()
public void
d()
method_2745()
stop()
resetTask()
public boolean
b()
method_2744()
shouldContinue()
continueExecuting()
public int
f()
method_2740()
getTimer()
getEatingGrassTimer()
public void
e()
method_2746()
tick()
updateTask()