Class RaidGoal<T extends LivingEntity>


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

    • cooldown

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

    • RaidGoal

      public RaidGoal​(RaiderEntity raider, Class<T> targetEntityClass, boolean checkVisibility, @Nullable Predicate<LivingEntity> targetPredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Layu;<init>(Lbir;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_3909;<init>(Lnet/minecraft/class_3763;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
      named <init> Lnet/minecraft/entity/ai/goal/RaidGoal;<init>(Lnet/minecraft/entity/raid/RaiderEntity;Ljava/lang/Class;ZLjava/util/function/Predicate;)V
  • Method Details

    • getCooldown

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

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

      public boolean canStart()
      Overrides:
      canStart in class FollowTargetGoal<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lawx;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 FollowTargetGoal<T extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lawx;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V