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 p_34344_, double p_34345_, int p_34346_) -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidplayBreakSound(Level p_34348_, BlockPos p_34349_)voidplayDestroyProgressSound(LevelAccessor p_34351_, BlockPos p_34352_)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, shouldRecalculatePathMethods inherited from class net.minecraft.world.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Constructor Details
-
ZombieAttackTurtleEggGoal
ZombieAttackTurtleEggGoal(PathfinderMob p_34344_, double p_34345_, int p_34346_)
-
-
Method Details
-
playDestroyProgressSound
- Overrides:
playDestroyProgressSoundin classRemoveBlockGoal
-
playBreakSound
- Overrides:
playBreakSoundin classRemoveBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistancein classMoveToBlockGoal
-