Package net.minecraft.entity.monster
Class AbstractRaiderEntity.InvadeHomeGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.monster.AbstractRaiderEntity.InvadeHomeGoal
- Enclosing class:
- AbstractRaiderEntity
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private BlockPos
private final AbstractRaiderEntity
private final double
private boolean
-
Constructor Summary
ConstructorDescriptionInvadeHomeGoal
(AbstractRaiderEntity p_i50570_1_, double p_i50570_2_, int p_i50570_4_) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Field Details
-
raider
-
speedModifier
private final double speedModifier -
poiPos
-
visited
-
distanceToPoi
private final int distanceToPoi -
stuck
private boolean stuck
-
-
Constructor Details
-
InvadeHomeGoal
-
-
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()
-