类 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
-
- 封闭类:
- ZombieEntity
class ZombieEntity.DestroyEggGoal extends StepAndDestroyBlockGoal
- Mappings:
Namespace Name official bhs$aintermediary net/minecraft/class_1642$class_1643named net/minecraft/entity/mob/ZombieEntity$DestroyEggGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
-
从类继承的字段 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
cooldown, lowestY, mob, speed, targetPos, tryingTime
-
-
构造器概要
构造器 构造器 说明 DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 doublegetDesiredSquaredDistanceToTarget()voidonDestroyBlock(World world, BlockPos pos)voidtickStepping(WorldAccess world, BlockPos pos)-
从类继承的方法 net.minecraft.entity.ai.goal.StepAndDestroyBlockGoal
canStart, isTargetPos, start, stop, tick
-
从类继承的方法 net.minecraft.entity.ai.goal.MoveToTargetPosGoal
findTargetPos, getInterval, getTargetPos, hasReached, shouldContinue, shouldResetPath, startMovingToTarget
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
构造器详细资料
-
DestroyEggGoal
DestroyEggGoal(PathAwareEntity mob, double speed, int maxYDifference)
- Mappings:
Namespace Name Mixin selector official <init>Lbhs$a;<init>(Lbhs;Latg;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
-
-
方法详细资料
-
tickStepping
public void tickStepping(WorldAccess world, BlockPos pos)
- 覆盖:
tickStepping在类中StepAndDestroyBlockGoal- Mappings:
Namespace Name Mixin selector official aLazr;a(Lbvs;Lgb;)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
public void onDestroyBlock(World world, BlockPos pos)
- 覆盖:
onDestroyBlock在类中StepAndDestroyBlockGoal- Mappings:
Namespace Name Mixin selector official aLazr;a(Lbvr;Lgb;)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
-
getDesiredSquaredDistanceToTarget
public double getDesiredSquaredDistanceToTarget()
- 覆盖:
getDesiredSquaredDistanceToTarget在类中MoveToTargetPosGoal- Mappings:
Namespace Name Mixin selector official hLazd;h()Dintermediary method_6291Lnet/minecraft/class_1367;method_6291()Dnamed getDesiredSquaredDistanceToTargetLnet/minecraft/entity/ai/goal/MoveToTargetPosGoal;getDesiredSquaredDistanceToTarget()D
-
-