Class AttackWithOwnerGoal


public class AttackWithOwnerGoal extends TrackTargetGoal
Mappings:
Namespace Name
official bot
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 Lbot;a:Lbgv;
      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 Lbot;b:Lbfz;
      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 Lbot;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> Lbot;<init>(Lbgv;)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 Lbmv;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 Lbmv;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V