类 PatrolEntity.PatrolGoal<T extends PatrolEntity>
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.mob.PatrolEntity.PatrolGoal<T>
-
- 封闭类:
- PatrolEntity
public static class PatrolEntity.PatrolGoal<T extends PatrolEntity> extends Goal
- Mappings:
Namespace Name official bha$aintermediary net/minecraft/class_3732$class_3733named net/minecraft/entity/mob/PatrolEntity$PatrolGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private Tentityprivate static intfield_30474private doublefollowSpeedprivate doubleleaderSpeedprivate longnextPatrolSearchTime
-
构造器概要
构造器 构造器 说明 PatrolGoal(T entity, double leaderSpeed, double followSpeed)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()private List<PatrolEntity>findPatrolTargets()voidstart()voidstop()voidtick()private booleanwander()-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, shouldContinue, toString
-
-
-
-
字段详细资料
-
field_30474
private static final int field_30474
- 另请参阅:
- 常量字段值
- Mappings:
Namespace Name Mixin selector official aLbha$a;a:Iintermediary field_30474Lnet/minecraft/class_3732$class_3733;field_30474:Inamed field_30474Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;field_30474:I
-
entity
private final T extends PatrolEntity entity
- Mappings:
Namespace Name Mixin selector official bLbha$a;b:Lbha;intermediary field_16481Lnet/minecraft/class_3732$class_3733;field_16481:Lnet/minecraft/class_3732;named entityLnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;entity:Lnet/minecraft/entity/mob/PatrolEntity;
-
leaderSpeed
private final double leaderSpeed
- Mappings:
Namespace Name Mixin selector official cLbha$a;c:Dintermediary field_16480Lnet/minecraft/class_3732$class_3733;field_16480:Dnamed leaderSpeedLnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;leaderSpeed:D
-
followSpeed
private final double followSpeed
- Mappings:
Namespace Name Mixin selector official dLbha$a;d:Dintermediary field_16535Lnet/minecraft/class_3732$class_3733;field_16535:Dnamed followSpeedLnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;followSpeed:D
-
nextPatrolSearchTime
private long nextPatrolSearchTime
- Mappings:
Namespace Name Mixin selector official eLbha$a;e:Jintermediary field_20701Lnet/minecraft/class_3732$class_3733;field_20701:Jnamed nextPatrolSearchTimeLnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;nextPatrolSearchTime:J
-
-
构造器详细资料
-
PatrolGoal
public PatrolGoal(T entity, double leaderSpeed, double followSpeed)
- Mappings:
Namespace Name Mixin selector official <init>Lbha$a;<init>(Lbha;DD)Vintermediary <init>Lnet/minecraft/class_3732$class_3733;<init>(Lnet/minecraft/class_3732;DD)Vnamed <init>Lnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;<init>(Lnet/minecraft/entity/mob/PatrolEntity;DD)V
-
-
方法详细资料
-
canStart
public boolean canStart()
-
start
public void start()
-
stop
public void stop()
-
tick
public void tick()
-
findPatrolTargets
private List<PatrolEntity> findPatrolTargets()
- Mappings:
Namespace Name Mixin selector official gLbha$a;g()Ljava/util/List;intermediary method_22333Lnet/minecraft/class_3732$class_3733;method_22333()Ljava/util/List;named findPatrolTargetsLnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;findPatrolTargets()Ljava/util/List;
-
wander
private boolean wander()
- Mappings:
Namespace Name Mixin selector official hLbha$a;h()Zintermediary method_16222Lnet/minecraft/class_3732$class_3733;method_16222()Znamed wanderLnet/minecraft/entity/mob/PatrolEntity$PatrolGoal;wander()Z
-
-