Class AttackWithOwnerGoal


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

    • tameable

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

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

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

    • AttackWithOwnerGoal

      public AttackWithOwnerGoal(TameableEntity tameable)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/AttackWithOwnerGoal;<init>(Lnet/minecraft/entity/passive/TameableEntity;)V
      intermediary <init> Lnet/minecraft/class_1406;<init>(Lnet/minecraft/class_1321;)V
      official <init> Lccm;<init>(Lbun;)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 Lcao;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 Lcao;c()V