类 FollowTargetIfTamedGoal<T extends LivingEntity>


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

      • tameable

        private final TameableEntity tameable
        Mappings:
        Namespace Name Mixin selector
        official i Lbal;i:Latr;
        intermediary field_6656 Lnet/minecraft/class_1404;field_6656:Lnet/minecraft/class_1321;
        named tameable Lnet/minecraft/entity/ai/goal/FollowTargetIfTamedGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
    • 构造器详细资料

      • FollowTargetIfTamedGoal

        public FollowTargetIfTamedGoal​(TameableEntity tameable,
                                       Class<T> targetClass,
                                       boolean checkVisibility,
                                       @Nullable
                                       @Nullable Predicate<LivingEntity> targetPredicate)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbal;<init>(Latr;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
        intermediary <init> Lnet/minecraft/class_1404;<init>(Lnet/minecraft/class_1321;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
        named <init> Lnet/minecraft/entity/ai/goal/FollowTargetIfTamedGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;Ljava/lang/Class;ZLjava/util/function/Predicate;)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
      • shouldContinue

        public boolean shouldContinue()
        覆盖:
        shouldContinue 在类中 TrackTargetGoal
        Mappings:
        Namespace Name Mixin selector
        official b Layq;b()Z
        intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
        named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z