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
-
Nested Class Summary
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoal
blockPos, mob, nextStartTick, speedModifier, tryTicks, verticalSearchStart -
Constructor Summary
ConstructorsConstructorDescriptionAttackTurtleEggGoal(CreatureEntity p_i50465_2_, double p_i50465_3_, int p_i50465_5_) -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidplayBreakSound(World p_203116_1_, BlockPos p_203116_2_) voidplayDestroyProgressSound(IWorld p_203114_1_, BlockPos p_203114_2_) Methods inherited from class net.minecraft.entity.ai.goal.BreakBlockGoal
canUse, isValidTarget, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.MoveToBlockGoal
canContinueToUse, findNearestBlock, getMoveToTarget, isReachedTarget, moveMobToBlock, nextStartTick, shouldRecalculatePathMethods inherited from class net.minecraft.entity.ai.goal.Goal
getFlags, isInterruptable, setFlags, toString
-
Constructor Details
-
AttackTurtleEggGoal
AttackTurtleEggGoal(CreatureEntity p_i50465_2_, double p_i50465_3_, int p_i50465_5_)
-
-
Method Details
-
playDestroyProgressSound
- Overrides:
playDestroyProgressSoundin classBreakBlockGoal
-
playBreakSound
- Overrides:
playBreakSoundin classBreakBlockGoal
-
acceptedDistance
public double acceptedDistance()- Overrides:
acceptedDistancein classMoveToBlockGoal
-