Class TrackOwnerAttackerGoal


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

    • tameable

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

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

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

    • TrackOwnerAttackerGoal

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

    • canStart

      public boolean canStart()
      Specified by:
      canStart in class Goal
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;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()
      Overrides:
      start in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      official c Lawx;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V