Class FollowTargetIfTamedGoal<T extends LivingEntity>


public class FollowTargetIfTamedGoal<T extends LivingEntity> extends FollowTargetGoal<T>
Mappings:
Namespace Name
official yx
intermediary net/minecraft/class_930
named net/minecraft/entity/ai/goal/FollowTargetIfTamedGoal
  • Field Details

    • tameable

      private final TameableEntity tameable
      Mappings:
      Namespace Name Mixin selector
      official i Lyx;i:Lwb;
      intermediary field_3632 Lnet/minecraft/class_930;field_3632:Lnet/minecraft/class_880;
      named tameable Lnet/minecraft/entity/ai/goal/FollowTargetIfTamedGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
  • Constructor Details

    • FollowTargetIfTamedGoal

      public FollowTargetIfTamedGoal(TameableEntity tameable, Class<T> targetClass, boolean checkVisibility, Predicate<? super T> targetPredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lyx;<init>(Lwb;Ljava/lang/Class;ZLcom/google/common/base/Predicate;)V
      intermediary <init> Lnet/minecraft/class_930;<init>(Lnet/minecraft/class_880;Ljava/lang/Class;ZLcom/google/common/base/Predicate;)V
      named <init> Lnet/minecraft/entity/ai/goal/FollowTargetIfTamedGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;Ljava/lang/Class;ZLcom/google/common/base/Predicate;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class FollowTargetGoal<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lxe;a()Z
      intermediary method_2742 Lnet/minecraft/class_896;method_2742()Z
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z