Class FleeSunGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.FleeSunGoal
- Direct Known Subclasses:
Fox.SeekShelterGoal
-
Nested Class Summary
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Levelprotected final PathfinderMobprivate final doubleprivate doubleprivate doubleprivate double -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, stop, tick, toString
-
Field Details
-
mob
-
wantedX
private double wantedX -
wantedY
private double wantedY -
wantedZ
private double wantedZ -
speedModifier
private final double speedModifier -
level
-
-
Constructor Details
-
FleeSunGoal
-
-
Method Details
-
canUse
-
setWantedPos
protected boolean setWantedPos() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUsein classGoal
-
start
-
getHidePos
-