Class RaidGoal<T extends LivingEntity>


public class RaidGoal<T extends LivingEntity> extends ActiveTargetGoal<T>
Mappings:
Namespace Name
named net/minecraft/entity/ai/goal/RaidGoal
intermediary net/minecraft/class_3909
official cey
  • Field Details

    • MAX_COOLDOWN

      private static final int MAX_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MAX_COOLDOWN Lnet/minecraft/entity/ai/goal/RaidGoal;MAX_COOLDOWN:I
      intermediary field_30231 Lnet/minecraft/class_3909;field_30231:I
      official i Lcey;i:I
    • cooldown

      private int cooldown
      Mappings:
      Namespace Name Mixin selector
      named cooldown Lnet/minecraft/entity/ai/goal/RaidGoal;cooldown:I
      intermediary field_17282 Lnet/minecraft/class_3909;field_17282:I
      official j Lcey;j:I
  • Constructor Details

    • RaidGoal

      public RaidGoal(RaiderEntity raider, Class<T> targetEntityClass, boolean checkVisibility, @Nullable TargetPredicate.EntityPredicate targetPredicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/goal/RaidGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Ljava/lang/Class;ZLnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;)V
      intermediary <init> Lnet/minecraft/class_3909;<init>(Lnet/minecraft/class_3763;Ljava/lang/Class;ZLnet/minecraft/class_4051$class_10254;)V
      official <init> Lcey;<init>(Lcrk;Ljava/lang/Class;ZLcgw$a;)V
  • Method Details

    • getCooldown

      public int getCooldown()
      Mappings:
      Namespace Name Mixin selector
      named getCooldown Lnet/minecraft/entity/ai/goal/RaidGoal;getCooldown()I
      intermediary method_17352 Lnet/minecraft/class_3909;method_17352()I
      official i Lcey;i()I
    • decreaseCooldown

      public void decreaseCooldown()
      Mappings:
      Namespace Name Mixin selector
      named decreaseCooldown Lnet/minecraft/entity/ai/goal/RaidGoal;decreaseCooldown()V
      intermediary method_17353 Lnet/minecraft/class_3909;method_17353()V
      official k Lcey;k()V
    • canStart

      public boolean canStart()
      Overrides:
      canStart in class ActiveTargetGoal<T extends LivingEntity>
      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 b Lcdd;b()Z
    • start

      public void start()
      Overrides:
      start in class ActiveTargetGoal<T extends LivingEntity>
      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 d Lcdd;d()V