public class LandOnOwnersShoulderGoal extends Goal
| Modifier and Type | Field and Description |
|---|---|
private ShoulderRidingEntity |
entity |
private boolean |
isSittingOnShoulder |
private ServerPlayerEntity |
owner |
| Constructor and Description |
|---|
LandOnOwnersShoulderGoal(ShoulderRidingEntity entityIn) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isPreemptible() |
boolean |
shouldExecute() |
void |
startExecuting() |
void |
tick() |
getMutexFlags, resetTask, setMutexFlags, shouldContinueExecuting, toStringprivate final ShoulderRidingEntity entity
private ServerPlayerEntity owner
private boolean isSittingOnShoulder
public LandOnOwnersShoulderGoal(ShoulderRidingEntity entityIn)
public boolean shouldExecute()
shouldExecute in class Goalpublic boolean isPreemptible()
isPreemptible in class Goalpublic void startExecuting()
startExecuting in class Goal