类 FoxEntity.DefendFriendGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.ai.goal.TrackTargetGoal
-
- net.minecraft.entity.ai.goal.FollowTargetGoal<LivingEntity>
-
- net.minecraft.entity.passive.FoxEntity.DefendFriendGoal
-
- 封闭类:
- FoxEntity
class FoxEntity.DefendFriendGoal extends FollowTargetGoal<LivingEntity>
- Mappings:
Namespace Name official bdi$aintermediary net/minecraft/class_4019$class_4020named net/minecraft/entity/passive/FoxEntity$DefendFriendGoal
-
-
嵌套类概要
-
从类继承的嵌套类/接口 net.minecraft.entity.ai.goal.Goal
Goal.Control
-
-
字段概要
字段 修饰符和类型 字段 说明 private LivingEntityfriendprivate intlastAttackedTimeprivate @Nullable LivingEntityoffender-
从类继承的字段 net.minecraft.entity.ai.goal.FollowTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
-
从类继承的字段 net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
-
构造器概要
构造器 构造器 说明 DefendFriendGoal(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, Predicate<LivingEntity> targetPredicate)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancanStart()voidstart()-
从类继承的方法 net.minecraft.entity.ai.goal.FollowTargetGoal
findClosestTarget, getSearchBox, setTargetEntity
-
从类继承的方法 net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility, shouldContinue, stop
-
从类继承的方法 net.minecraft.entity.ai.goal.Goal
canStop, getControls, setControls, tick, toString
-
-
-
-
字段详细资料
-
offender
@Nullable private @Nullable LivingEntity offender
- Mappings:
Namespace Name Mixin selector official jLbdi$a;j:Lasy;intermediary field_17966Lnet/minecraft/class_4019$class_4020;field_17966:Lnet/minecraft/class_1309;named offenderLnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;offender:Lnet/minecraft/entity/LivingEntity;
-
friend
private LivingEntity friend
- Mappings:
Namespace Name Mixin selector official kLbdi$a;k:Lasy;intermediary field_17967Lnet/minecraft/class_4019$class_4020;field_17967:Lnet/minecraft/class_1309;named friendLnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;friend:Lnet/minecraft/entity/LivingEntity;
-
lastAttackedTime
private int lastAttackedTime
- Mappings:
Namespace Name Mixin selector official lLbdi$a;l:Iintermediary field_17968Lnet/minecraft/class_4019$class_4020;field_17968:Inamed lastAttackedTimeLnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;lastAttackedTime:I
-
-
构造器详细资料
-
DefendFriendGoal
public DefendFriendGoal(Class<LivingEntity> targetEntityClass, boolean checkVisibility, boolean checkCanNavigate, Predicate<LivingEntity> targetPredicate)
- Mappings:
Namespace Name Mixin selector official <init>Lbdi$a;<init>(Lbdi;Ljava/lang/Class;ZZLjava/util/function/Predicate;)Vintermediary <init>Lnet/minecraft/class_4019$class_4020;<init>(Lnet/minecraft/class_4019;Ljava/lang/Class;ZZLjava/util/function/Predicate;)Vnamed <init>Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;<init>(Lnet/minecraft/entity/passive/FoxEntity;Ljava/lang/Class;ZZLjava/util/function/Predicate;)V
-
-
方法详细资料
-
canStart
public boolean canStart()
- 覆盖:
canStart在类中FollowTargetGoal<LivingEntity>- Mappings:
Namespace Name Mixin selector official aLayq;a()Zintermediary method_6264Lnet/minecraft/class_1352;method_6264()Znamed canStartLnet/minecraft/entity/ai/goal/Goal;canStart()Z
-
start
public void start()
- 覆盖:
start在类中FollowTargetGoal<LivingEntity>- 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
-
-