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.Zombie.ZombieAttackTurtleEggGoal
- Enclosing class:
Zombie
-
Nested Class Summary
-
Field Summary
Fields inherited from class MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart -
Constructor Summary
ConstructorsConstructorDescriptionZombieAttackTurtleEggGoal(PathfinderMob mob, double speedModifier, int verticalSearchRange) -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidplayBreakSound(Level level, BlockPos pos) voidplayDestroyProgressSound(LevelAccessor level, BlockPos pos) Methods inherited from class RemoveBlockGoal
canUse, isValidTarget, start, stop, tickMethods inherited from class MoveToBlockGoal
canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, requiresUpdateEveryTick, shouldRecalculatePathMethods inherited from class Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, setFlags, toString
-
Constructor Details
-
ZombieAttackTurtleEggGoal
ZombieAttackTurtleEggGoal(PathfinderMob mob, double speedModifier, int verticalSearchRange)
-
-
Method Details
-
playDestroyProgressSound
- Overrides:
playDestroyProgressSoundin classRemoveBlockGoal
-
playBreakSound
- Overrides:
playBreakSoundin classRemoveBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistancein classMoveToBlockGoal
-