类 FoxEntity.DefendFriendGoal

  • 封闭类:
    FoxEntity

    class FoxEntity.DefendFriendGoal
    extends FollowTargetGoal<LivingEntity>
    Mappings:
    Namespace Name
    official bdi$a
    intermediary net/minecraft/class_4019$class_4020
    named net/minecraft/entity/passive/FoxEntity$DefendFriendGoal
    • 字段详细资料

      • offender

        @Nullable
        private @Nullable LivingEntity offender
        Mappings:
        Namespace Name Mixin selector
        official j Lbdi$a;j:Lasy;
        intermediary field_17966 Lnet/minecraft/class_4019$class_4020;field_17966:Lnet/minecraft/class_1309;
        named offender Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;offender:Lnet/minecraft/entity/LivingEntity;
      • friend

        private LivingEntity friend
        Mappings:
        Namespace Name Mixin selector
        official k Lbdi$a;k:Lasy;
        intermediary field_17967 Lnet/minecraft/class_4019$class_4020;field_17967:Lnet/minecraft/class_1309;
        named friend Lnet/minecraft/entity/passive/FoxEntity$DefendFriendGoal;friend:Lnet/minecraft/entity/LivingEntity;
      • lastAttackedTime

        private int lastAttackedTime
        Mappings:
        Namespace Name Mixin selector
        official l Lbdi$a;l:I
        intermediary field_17968 Lnet/minecraft/class_4019$class_4020;field_17968:I
        named lastAttackedTime Lnet/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;)V
        intermediary <init> Lnet/minecraft/class_4019$class_4020;<init>(Lnet/minecraft/class_4019;Ljava/lang/Class;ZZLjava/util/function/Predicate;)V
        named <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 a Layq;a()Z
        intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
        named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      • start

        public void start()
        覆盖:
        start 在类中 FollowTargetGoal<LivingEntity>
        Mappings:
        Namespace Name Mixin selector
        official c Layq;c()V
        intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
        named start Lnet/minecraft/entity/ai/goal/Goal;start()V