Package net.minecraft.entity.monster
Class SilverfishEntity.HideInStoneGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.RandomWalkingGoal
-
- net.minecraft.entity.monster.SilverfishEntity.HideInStoneGoal
-
- Enclosing class:
- SilverfishEntity
static class SilverfishEntity.HideInStoneGoal extends RandomWalkingGoal
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
doMerge
private Direction
selectedDirection
-
Fields inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
-
Constructor Summary
Constructors Constructor Description HideInStoneGoal(SilverfishEntity p_i45827_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canContinueToUse()
boolean
canUse()
void
start()
-
Methods inherited from class net.minecraft.entity.ai.goal.RandomWalkingGoal
getPosition, setInterval, stop, trigger
-
-
-
-
Field Detail
-
selectedDirection
private Direction selectedDirection
-
doMerge
private boolean doMerge
-
-
Constructor Detail
-
HideInStoneGoal
public HideInStoneGoal(SilverfishEntity p_i45827_1_)
-
-
Method Detail
-
canUse
public boolean canUse()
- Overrides:
canUse
in classRandomWalkingGoal
-
canContinueToUse
public boolean canContinueToUse()
- Overrides:
canContinueToUse
in classRandomWalkingGoal
-
start
public void start()
- Overrides:
start
in classRandomWalkingGoal
-
-