类 ZombieAttackGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.MeleeAttackGoal
-
- net.minecraft.entity.ai.goal.ZombieAttackGoal
-
- 直接已知子类:
DrownedEntity.DrownedAttackGoal
public class ZombieAttackGoal extends MeleeAttackGoal
- Mappings:
Namespace Name official baeintermediary net/minecraft/class_1396named net/minecraft/entity/ai/goal/ZombieAttackGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private intticksprivate ZombieEntityzombie-
从类继承的字段 net.minecraft.entity.ai.goal.MeleeAttackGoal
mob
-
-
构造器概要
构造器 构造器 说明 ZombieAttackGoal(ZombieEntity zombie, double speed, boolean pauseWhenMobIdle)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidstart()voidstop()voidtick()-
从类继承的方法 net.minecraft.entity.ai.goal.MeleeAttackGoal
attack, canStart, getCooldown, getMaxCooldown, getSquaredMaxAttackDistance, isCooledDown, setMaxCooldown, shouldContinue
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, toString
-
-
-
-
字段详细资料
-
zombie
private final ZombieEntity zombie
- Mappings:
Namespace Name Mixin selector official bLbae;b:Lbhs;intermediary field_6628Lnet/minecraft/class_1396;field_6628:Lnet/minecraft/class_1642;named zombieLnet/minecraft/entity/ai/goal/ZombieAttackGoal;zombie:Lnet/minecraft/entity/mob/ZombieEntity;
-
ticks
private int ticks
- Mappings:
Namespace Name Mixin selector official cLbae;c:Iintermediary field_6627Lnet/minecraft/class_1396;field_6627:Inamed ticksLnet/minecraft/entity/ai/goal/ZombieAttackGoal;ticks:I
-
-
构造器详细资料
-
ZombieAttackGoal
public ZombieAttackGoal(ZombieEntity zombie, double speed, boolean pauseWhenMobIdle)
- Mappings:
Namespace Name Mixin selector official <init>Lbae;<init>(Lbhs;DZ)Vintermediary <init>Lnet/minecraft/class_1396;<init>(Lnet/minecraft/class_1642;DZ)Vnamed <init>Lnet/minecraft/entity/ai/goal/ZombieAttackGoal;<init>(Lnet/minecraft/entity/mob/ZombieEntity;DZ)V
-
-
方法详细资料
-
start
public void start()
- 覆盖:
start在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official cLayq;c()Vintermediary method_6269Lnet/minecraft/class_1352;method_6269()Vnamed startLnet/minecraft/entity/ai/goal/Goal;start()V
-
stop
public void stop()
- 覆盖:
stop在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official dLayq;d()Vintermediary method_6270Lnet/minecraft/class_1352;method_6270()Vnamed stopLnet/minecraft/entity/ai/goal/Goal;stop()V
-
tick
public void tick()
- 覆盖:
tick在类中MeleeAttackGoal- Mappings:
Namespace Name Mixin selector official eLayq;e()Vintermediary method_6268Lnet/minecraft/class_1352;method_6268()Vnamed tickLnet/minecraft/entity/ai/goal/Goal;tick()V
-
-