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 mob, double speedModifier, int verticalSearchRange) -
Method Summary
Modifier and TypeMethodDescriptiondouble
void
playBreakSound
(Level level, BlockPos pos) void
playDestroyProgressSound
(LevelAccessor level, BlockPos pos) 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 mob, double speedModifier, int verticalSearchRange)
-
-
Method Details
-
playDestroyProgressSound
- Overrides:
playDestroyProgressSound
in classRemoveBlockGoal
-
playBreakSound
- Overrides:
playBreakSound
in classRemoveBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistance
in classMoveToBlockGoal
-