public class SitGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private boolean |
isSitting |
private TameableEntity |
tameable |
| Constructor and Description |
|---|
SitGoal(TameableEntity entityIn) |
| Modifier and Type | Method and Description |
|---|---|
void |
resetTask() |
void |
setSitting(boolean sitting) |
boolean |
shouldContinueExecuting() |
boolean |
shouldExecute() |
void |
startExecuting() |
getMutexFlags, isPreemptible, setMutexFlags, tick, toStringprivate final TameableEntity tameable
private boolean isSitting
public SitGoal(TameableEntity entityIn)
public boolean shouldContinueExecuting()
shouldContinueExecuting in class Goalpublic boolean shouldExecute()
shouldExecute in class Goalpublic void startExecuting()
startExecuting in class Goalpublic void setSitting(boolean sitting)