Package net.minecraft.entity.ai.goal
Class LandOnOwnersShoulderGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.LandOnOwnersShoulderGoal
-
public class LandOnOwnersShoulderGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description private ShoulderRidingEntity
entity
private boolean
isSittingOnShoulder
private ServerPlayerEntity
owner
-
Constructor Summary
Constructors Constructor Description LandOnOwnersShoulderGoal(ShoulderRidingEntity p_i47415_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canUse()
boolean
isInterruptable()
void
start()
void
tick()
-
-
-
Field Detail
-
entity
private final ShoulderRidingEntity entity
-
owner
private ServerPlayerEntity owner
-
isSittingOnShoulder
private boolean isSittingOnShoulder
-
-
Constructor Detail
-
LandOnOwnersShoulderGoal
public LandOnOwnersShoulderGoal(ShoulderRidingEntity p_i47415_1_)
-
-