Package net.minecraft.entity.monster
Class ZombieEntity.AttackTurtleEggGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MoveToBlockGoal
-
- net.minecraft.entity.ai.goal.BreakBlockGoal
-
- net.minecraft.entity.monster.ZombieEntity.AttackTurtleEggGoal
-
- Enclosing class:
- ZombieEntity
class ZombieEntity.AttackTurtleEggGoal extends BreakBlockGoal
-
-
Field Summary
-
Fields inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart
-
-
Constructor Summary
Constructors Constructor Description AttackTurtleEggGoal(CreatureEntity p_i50465_2_, double p_i50465_3_, int p_i50465_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
acceptedDistance()
void
playBreakSound(World p_203116_1_, BlockPos p_203116_2_)
void
playDestroyProgressSound(IWorld p_203114_1_, BlockPos p_203114_2_)
-
Methods inherited from class net.minecraft.entity.ai.goal.BreakBlockGoal
canUse, isValidTarget, start, stop, tick
-
Methods inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoal
canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, shouldRecalculatePath
-
Methods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
-
-
-
Constructor Detail
-
AttackTurtleEggGoal
AttackTurtleEggGoal(CreatureEntity p_i50465_2_, double p_i50465_3_, int p_i50465_5_)
-
-
Method Detail
-
playDestroyProgressSound
public void playDestroyProgressSound(IWorld p_203114_1_, BlockPos p_203114_2_)
- Overrides:
playDestroyProgressSound
in classBreakBlockGoal
-
playBreakSound
public void playBreakSound(World p_203116_1_, BlockPos p_203116_2_)
- Overrides:
playBreakSound
in classBreakBlockGoal
-
acceptedDistance
public double acceptedDistance()
- Overrides:
acceptedDistance
in classMoveToBlockGoal
-
-