Class TrackOwnerAttackerGoal


public class TrackOwnerAttackerGoal extends TrackTargetGoal
Mappings:
Namespace Name
official bom
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 Lbom;a:Lbgp;
      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 Lbom;b:Lbft;
      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 Lbom;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> Lbom;<init>(Lbgp;)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 Lbmp;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 Lbmp;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V