Class Silverfish.SilverfishMergeWithStoneGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.world.entity.monster.Silverfish.SilverfishMergeWithStoneGoal
- Enclosing class:
- Silverfish
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
DEFAULT_INTERVAL, forceTrigger, interval, mob, speedModifier, wantedX, wantedY, wantedZ
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.ai.goal.RandomStrollGoal
getPosition, setInterval, stop, trigger
-
Field Details
-
selectedDirection
-
doMerge
private boolean doMerge
-
-
Constructor Details
-
SilverfishMergeWithStoneGoal
-
-
Method Details
-
canUse
public boolean canUse()- Overrides:
canUse
in classRandomStrollGoal
-
canContinueToUse
public boolean canContinueToUse()- Overrides:
canContinueToUse
in classRandomStrollGoal
-
start
public void start()- Overrides:
start
in classRandomStrollGoal
-