类 DisableableFollowTargetGoal<T extends LivingEntity>


  • public class DisableableFollowTargetGoal<T extends LivingEntity>
    extends FollowTargetGoal<T>
    Mappings:
    Namespace Name
    official baj
    intermediary net/minecraft/class_3760
    named net/minecraft/entity/ai/goal/DisableableFollowTargetGoal
    • 字段详细资料

      • enabled

        private boolean enabled
        Mappings:
        Namespace Name Mixin selector
        official i Lbaj;i:Z
        intermediary field_17281 Lnet/minecraft/class_3760;field_17281:Z
        named enabled Lnet/minecraft/entity/ai/goal/DisableableFollowTargetGoal;enabled:Z
    • 构造器详细资料

      • DisableableFollowTargetGoal

        public DisableableFollowTargetGoal​(RaiderEntity actor,
                                           Class<T> targetEntityClass,
                                           int reciprocalChance,
                                           boolean checkVisibility,
                                           boolean checkCanNavigate,
                                           @Nullable
                                           @Nullable Predicate<LivingEntity> targetPredicate)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbaj;<init>(Lbkl;Ljava/lang/Class;IZZLjava/util/function/Predicate;)V
        intermediary <init> Lnet/minecraft/class_3760;<init>(Lnet/minecraft/class_3763;Ljava/lang/Class;IZZLjava/util/function/Predicate;)V
        named <init> Lnet/minecraft/entity/ai/goal/DisableableFollowTargetGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Ljava/lang/Class;IZZLjava/util/function/Predicate;)V
    • 方法详细资料

      • setEnabled

        public void setEnabled​(boolean enabled)
        Mappings:
        Namespace Name Mixin selector
        official a Lbaj;a(Z)V
        intermediary method_17351 Lnet/minecraft/class_3760;method_17351(Z)V
        named setEnabled Lnet/minecraft/entity/ai/goal/DisableableFollowTargetGoal;setEnabled(Z)V
      • canStart

        public boolean canStart()
        覆盖:
        canStart 在类中 FollowTargetGoal<T extends 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