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 TypeMethodDescriptiondoublevoidplayBreakSound(Level level, BlockPos pos) voidplayDestroyProgressSound(LevelAccessor level, BlockPos pos) 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 mob, double speedModifier, int verticalSearchRange)
-
-
Method Details
-
playDestroyProgressSound
- Overrides:
playDestroyProgressSoundin classRemoveBlockGoal
-
playBreakSound
- Overrides:
playBreakSoundin classRemoveBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistancein classMoveToBlockGoal
-