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 TypeMethodDescriptiondoublevoidplayBreakSound(Level pLevel, BlockPos pPos) voidplayDestroyProgressSound(LevelAccessor pLevel, BlockPos pPos) Methods inherited from class net.minecraft.world.entity.ai.goal.RemoveBlockGoal
canUse, isValidTarget, start, stop, tickMethods inherited from class net.minecraft.world.entity.ai.goal.MoveToBlockGoal
canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, shouldRecalculatePathMethods 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:
playDestroyProgressSoundin classRemoveBlockGoal
-
playBreakSound
- Overrides:
playBreakSoundin classRemoveBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistancein classMoveToBlockGoal
-