Class TrackOwnerAttackerGoal


public class TrackOwnerAttackerGoal extends TrackTargetGoal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/TrackOwnerAttackerGoal
intermediary net/minecraft/class_1403
official cbx
  • Field Details

    • tameable

      private final TameableEntity tameable
      Mappings:
      Namespace Name Mixin selector
      named tameable Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
      intermediary field_6654 Lnet/minecraft/class_1403;field_6654:Lnet/minecraft/class_1321;
      official a Lcbx;a:Lbtz;
    • attacker

      private LivingEntity attacker
      Mappings:
      Namespace Name Mixin selector
      named attacker Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;attacker:Lnet/minecraft/entity/LivingEntity;
      intermediary field_6655 Lnet/minecraft/class_1403;field_6655:Lnet/minecraft/class_1309;
      official b Lcbx;b:Lbtc;
    • lastAttackedTime

      private int lastAttackedTime
      Mappings:
      Namespace Name Mixin selector
      named lastAttackedTime Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;lastAttackedTime:I
      intermediary field_6653 Lnet/minecraft/class_1403;field_6653:I
      official c Lcbx;c:I
  • Constructor Details

    • TrackOwnerAttackerGoal

      public TrackOwnerAttackerGoal(TameableEntity tameable)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/TrackOwnerAttackerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;)V
      intermediary <init> Lnet/minecraft/class_1403;<init>(Lnet/minecraft/class_1321;)V
      official <init> Lcbx;<init>(Lbtz;)V
  • Method Details

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      named canStart Lnet/minecraft/entity/ai/goal/Goal;canStart()Z
      intermediary method_6264 Lnet/minecraft/class_1352;method_6264()Z
      official a Lcaa;a()Z
    • start

      public void start()
      Overrides:
      start in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      official c Lcaa;c()V