Package net.minecraft.world.entity.raid
Class Raider.RaiderMoveThroughVillageGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.raid.Raider.RaiderMoveThroughVillageGoal
- Enclosing class:
- Raider
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
ConstructorDescriptionRaiderMoveThroughVillageGoal
(Raider p_37936_, double p_37937_, int p_37938_) -
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
raider
-
speedModifier
private final double speedModifier -
poiPos
-
visited
-
distanceToPoi
private final int distanceToPoi -
stuck
private boolean stuck
-
-
Constructor Details
-
RaiderMoveThroughVillageGoal
-
-
Method Details
-
canUse
public boolean canUse() -
isValidRaid
private boolean isValidRaid() -
hasSuitablePoi
private boolean hasSuitablePoi() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
stop
public void stop() -
start
public void start() -
tick
public void tick() -
hasNotVisited
-
updateVisited
private void updateVisited()
-