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 official bwt$a
intermediary net/minecraft/class_1642$class_1643
named net/minecraft/entity/mob/ZombieEntity$DestroyEggGoal
-
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, getControls, getTickCount, setControls, toGoalTicks, toString
-
Constructor Details
-
DestroyEggGoal
DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference) - Mappings:
Namespace Name Mixin selector official <init>
Lbwt$a;<init>(Lbwt;Lbgg;DI)V
intermediary <init>
Lnet/minecraft/class_1642$class_1643;<init>(Lnet/minecraft/class_1642;Lnet/minecraft/class_1314;DI)V
named <init>
Lnet/minecraft/entity/mob/ZombieEntity$DestroyEggGoal;<init>(Lnet/minecraft/entity/mob/ZombieEntity;Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
-
-
Method Details
-
tickStepping
- Overrides:
tickStepping
in classStepAndDestroyBlockGoal
- Mappings:
Namespace Name Mixin selector official a
Lbnv;a(Lcml;Lgu;)V
intermediary method_6307
Lnet/minecraft/class_1382;method_6307(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)V
named tickStepping
Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;tickStepping(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
onDestroyBlock
- Overrides:
onDestroyBlock
in classStepAndDestroyBlockGoal
- Mappings:
Namespace Name Mixin selector official a
Lbnv;a(Lcmk;Lgu;)V
intermediary method_6309
Lnet/minecraft/class_1382;method_6309(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)V
named onDestroyBlock
Lnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;onDestroyBlock(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
getDesiredDistanceToTarget
public double getDesiredDistanceToTarget()- Overrides:
getDesiredDistanceToTarget
in classMoveToTargetPosGoal
- Mappings:
Namespace Name Mixin selector official i
Lbng;i()D
intermediary method_6291
Lnet/minecraft/class_1367;method_6291()D
named getDesiredDistanceToTarget
Lnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredDistanceToTarget()D
-