Class Zombie.ZombieAttackTurtleEggGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveToBlockGoal
net.minecraft.world.entity.ai.goal.RemoveBlockGoal
net.minecraft.world.entity.monster.Zombie.ZombieAttackTurtleEggGoal
- Enclosing class:
Zombie
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
-
Constructor Summary
ConstructorsConstructorDescriptionZombieAttackTurtleEggGoal
(PathfinderMob pMob, double pSpeedModifier, int pVerticalSearchRange) -
Method Summary
Modifier and TypeMethodDescriptiondouble
void
playBreakSound
(Level pLevel, BlockPos pPos) void
playDestroyProgressSound
(LevelAccessor pLevel, BlockPos pPos) Methods inherited from class net.minecraft.world.entity.ai.goal.RemoveBlockGoal
canUse, isValidTarget, start, stop, tick
Methods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, shouldRecalculatePath
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
ZombieAttackTurtleEggGoal
ZombieAttackTurtleEggGoal(PathfinderMob pMob, double pSpeedModifier, int pVerticalSearchRange)
-
-
Method Details
-
playDestroyProgressSound
- Overrides:
playDestroyProgressSound
in classRemoveBlockGoal
-
playBreakSound
- Overrides:
playBreakSound
in classRemoveBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistance
in classMoveToBlockGoal
-