Package net.minecraft.entity.mob
Class ZombieEntity.DestroyEggGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.MoveToTargetPosGoal
net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
net.minecraft.entity.mob.ZombieEntity.DestroyEggGoal
- Enclosing class:
ZombieEntity
- Mappings:
Namespace Name named net/minecraft/entity/mob/ZombieEntity$DestroyEggGoal
intermediary net/minecraft/class_1642$class_1643
official cnp$a
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
void
onDestroyBlock
(World world, BlockPos pos) void
tickStepping
(WorldAccess world, BlockPos pos) Methods inherited from class net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
canStart, isTargetPos, start, stop, tick
Methods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getInterval, getTargetPos, hasReached, shouldContinue, shouldResetPath, shouldRunEveryTick, startMovingToTarget
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, castToServerWorld, getControls, getServerWorld, getTickCount, setControls, toGoalTicks, toString
-
Constructor Details
-
DestroyEggGoal
DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/mob/ZombieEntity$DestroyEggGoal;<init>(Lnet/minecraft/entity/mob/ZombieEntity;Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
intermediary <init>
Lnet/minecraft/class_1642$class_1643;<init>(Lnet/minecraft/class_1642;Lnet/minecraft/class_1314;DI)V
official <init>
Lcnp$a;<init>(Lcnp;Lbwn;DI)V
-
-
Method Details
-
tickStepping
- Overrides:
tickStepping
in classStepAndDestroyBlockGoal
- Mappings:
Namespace Name Mixin selector named tickStepping
Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;tickStepping(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_6307
Lnet/minecraft/class_1382;method_6307(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
official a
Lcef;a(Ldhi;Ljh;)V
-
onDestroyBlock
- Overrides:
onDestroyBlock
in classStepAndDestroyBlockGoal
- Mappings:
Namespace Name Mixin selector named onDestroyBlock
Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;onDestroyBlock(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
intermediary method_6309
Lnet/minecraft/class_1382;method_6309(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
official a
Lcef;a(Ldhh;Ljh;)V
-
getDesiredDistanceToTarget
public double getDesiredDistanceToTarget()- Overrides:
getDesiredDistanceToTarget
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector named getDesiredDistanceToTarget
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredDistanceToTarget()D
intermediary method_6291
Lnet/minecraft/class_1367;method_6291()D
official i
Lcdq;i()D
-