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, toString
private final ShoulderRidingEntity entity
private ServerPlayerEntity owner
private boolean isSittingOnShoulder
public LandOnOwnersShoulderGoal(ShoulderRidingEntity entityIn)
public boolean shouldExecute()
shouldExecute
in class Goal
public boolean isPreemptible()
isPreemptible
in class Goal
public void startExecuting()
startExecuting
in class Goal