Class MoveToSkySeeingSpot
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<LivingEntity>
net.minecraft.world.entity.ai.behavior.MoveToSkySeeingSpot
- Direct Known Subclasses:
GoOutsideToCelebrate
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status -
Field Summary
FieldsFields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckExtraStartConditions(ServerLevel p_23552_, LivingEntity p_23553_)private Vec3getOutdoorPosition(ServerLevel p_23565_, LivingEntity p_23566_)static booleanhasNoBlocksAbove(ServerLevel p_23559_, LivingEntity p_23560_, BlockPos p_23561_)protected voidstart(ServerLevel p_23555_, LivingEntity p_23556_, long p_23557_)Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart
-
Field Details
-
speedModifier
private final float speedModifier
-
-
Constructor Details
-
MoveToSkySeeingSpot
public MoveToSkySeeingSpot(float p_23550_)
-
-
Method Details
-
start
- Overrides:
startin classBehavior<LivingEntity>
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditionsin classBehavior<LivingEntity>
-
getOutdoorPosition
-
hasNoBlocksAbove
public static boolean hasNoBlocksAbove(ServerLevel p_23559_, LivingEntity p_23560_, BlockPos p_23561_)
-