Class Phantom.PhantomSweepAttackGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.monster.Phantom.PhantomMoveTargetGoal
net.minecraft.world.entity.monster.Phantom.PhantomSweepAttackGoal
- Enclosing class:
- Phantom
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private int
private boolean
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.monster.Phantom.PhantomMoveTargetGoal
touchingTarget
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, toString
-
Field Details
-
CAT_SEARCH_TICK_DELAY
private static final int CAT_SEARCH_TICK_DELAY- See Also:
-
isScaredOfCat
private boolean isScaredOfCat -
catSearchTick
private int catSearchTick
-
-
Constructor Details
-
PhantomSweepAttackGoal
PhantomSweepAttackGoal()
-
-
Method Details
-
canUse
public boolean canUse() -
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classGoal
-
start
public void start() -
stop
public void stop() -
tick
public void tick()
-