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$aintermediary net/minecraft/class_1642$class_1643named 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublevoidonDestroyBlock(World world, BlockPos pos) voidtickStepping(WorldAccess world, BlockPos pos) Methods inherited from class net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
canStart, isTargetPos, start, stop, tickMethods inherited from class net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getInterval, getTargetPos, hasReached, shouldContinue, shouldResetPath, shouldRunEveryTick, startMovingToTargetMethods 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)Vintermediary <init>Lnet/minecraft/class_1642$class_1643;<init>(Lnet/minecraft/class_1642;Lnet/minecraft/class_1314;DI)Vnamed <init>Lnet/minecraft/entity/mob/ZombieEntity$DestroyEggGoal;<init>(Lnet/minecraft/entity/mob/ZombieEntity;Lnet/minecraft/entity/mob/PathAwareEntity;DI)V
-
-
Method Details
-
tickStepping
- Overrides:
tickSteppingin classStepAndDestroyBlockGoal- Mappings:
Namespace Name Mixin selector official aLbnv;a(Lcml;Lgu;)Vintermediary method_6307Lnet/minecraft/class_1382;method_6307(Lnet/minecraft/class_1936;Lnet/minecraft/class_2338;)Vnamed tickSteppingLnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;tickStepping(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;)V
-
onDestroyBlock
- Overrides:
onDestroyBlockin classStepAndDestroyBlockGoal- Mappings:
Namespace Name Mixin selector official aLbnv;a(Lcmk;Lgu;)Vintermediary method_6309Lnet/minecraft/class_1382;method_6309(Lnet/minecraft/class_1937;Lnet/minecraft/class_2338;)Vnamed onDestroyBlockLnet/minecraft/entity/ai/goal/StepAndDestroyBlockGoal;onDestroyBlock(Lnet/minecraft/world/World;Lnet/minecraft/util/math/BlockPos;)V
-
getDesiredDistanceToTarget
public double getDesiredDistanceToTarget()- Overrides:
getDesiredDistanceToTargetin classMoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official iLbng;i()Dintermediary method_6291Lnet/minecraft/class_1367;method_6291()Dnamed getDesiredDistanceToTargetLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredDistanceToTarget()D
-