public class EatGrassGoal extends Goal
| Constructor and Description |
|---|
EatGrassGoal(MobEntity grassEaterEntityIn) |
| Modifier and Type | Method and Description |
|---|---|
int |
getEatingGrassTimer() |
void |
resetTask() |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, isPreemptible, setMutexFlagspublic EatGrassGoal(MobEntity grassEaterEntityIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic void startExecuting()
startExecuting in class Goalpublic boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic int getEatingGrassTimer()