Class AttackWithOwnerGoal


public class AttackWithOwnerGoal extends TrackTargetGoal
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/AttackWithOwnerGoal
intermediary net/minecraft/class_1406
official cby
  • 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 Lcby;a:Lbtz;
    • 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 Lcby;b:Lbtc;
    • 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 Lcby;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> Lcby;<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