Class AttackWithOwnerGoal


public class AttackWithOwnerGoal extends TrackTargetGoal
Mappings:
Namespace Name
official bkm
intermediary net/minecraft/class_1406
named net/minecraft/entity/ai/goal/AttackWithOwnerGoal
  • Field Details

    • tameable

      private final TameableEntity tameable
      Mappings:
      Namespace Name Mixin selector
      official a Lbkm;a:Lbcw;
      intermediary field_6666 Lnet/minecraft/class_1406;field_6666:Lnet/minecraft/class_1321;
      named tameable Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;tameable:Lnet/minecraft/entity/passive/TameableEntity;
    • attacking

      private LivingEntity attacking
      Mappings:
      Namespace Name Mixin selector
      official b Lbkm;b:Lbcc;
      intermediary field_6667 Lnet/minecraft/class_1406;field_6667:Lnet/minecraft/class_1309;
      named attacking Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;attacking:Lnet/minecraft/entity/LivingEntity;
    • lastAttackTime

      private int lastAttackTime
      Mappings:
      Namespace Name Mixin selector
      official c Lbkm;c:I
      intermediary field_6665 Lnet/minecraft/class_1406;field_6665:I
      named lastAttackTime Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;lastAttackTime:I
  • Constructor Details

    • AttackWithOwnerGoal

      public AttackWithOwnerGoal(TameableEntity tameable)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkm;<init>(Lbcw;)V
      intermediary <init> Lnet/minecraft/class_1406;<init>(Lnet/minecraft/class_1321;)V
      named <init> Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;<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 Lbip;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 Lbip;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V