Class EndermanEntity.TeleportTowardsPlayerGoal

Enclosing class:
EndermanEntity

private static class EndermanEntity.TeleportTowardsPlayerGoal extends ActiveTargetGoal<PlayerEntity>
Mappings:
Namespace Name
official btt$c
intermediary net/minecraft/class_1560$class_1562
named net/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal
  • Field Details

    • enderman

      private final EndermanEntity enderman
      Mappings:
      Namespace Name Mixin selector
      official i Lbtt$c;i:Lbtt;
      intermediary field_7260 Lnet/minecraft/class_1560$class_1562;field_7260:Lnet/minecraft/class_1560;
      named enderman Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;enderman:Lnet/minecraft/entity/mob/EndermanEntity;
    • targetPlayer

      @Nullable private @Nullable PlayerEntity targetPlayer
      Mappings:
      Namespace Name Mixin selector
      official j Lbtt$c;j:Lbwp;
      intermediary field_7259 Lnet/minecraft/class_1560$class_1562;field_7259:Lnet/minecraft/class_1657;
      named targetPlayer Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;targetPlayer:Lnet/minecraft/entity/player/PlayerEntity;
    • lookAtPlayerWarmup

      private int lookAtPlayerWarmup
      Mappings:
      Namespace Name Mixin selector
      official k Lbtt$c;k:I
      intermediary field_7262 Lnet/minecraft/class_1560$class_1562;field_7262:I
      named lookAtPlayerWarmup Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;lookAtPlayerWarmup:I
    • ticksSinceUnseenTeleport

      private int ticksSinceUnseenTeleport
      Mappings:
      Namespace Name Mixin selector
      official l Lbtt$c;l:I
      intermediary field_7261 Lnet/minecraft/class_1560$class_1562;field_7261:I
      named ticksSinceUnseenTeleport Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;ticksSinceUnseenTeleport:I
    • staringPlayerPredicate

      private final TargetPredicate staringPlayerPredicate
      Mappings:
      Namespace Name Mixin selector
      official m Lbtt$c;m:Lbop;
      intermediary field_18127 Lnet/minecraft/class_1560$class_1562;field_18127:Lnet/minecraft/class_4051;
      named staringPlayerPredicate Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;staringPlayerPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
    • validTargetPredicate

      private final TargetPredicate validTargetPredicate
      Mappings:
      Namespace Name Mixin selector
      official n Lbtt$c;n:Lbop;
      intermediary field_18876 Lnet/minecraft/class_1560$class_1562;field_18876:Lnet/minecraft/class_4051;
      named validTargetPredicate Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;validTargetPredicate:Lnet/minecraft/entity/ai/TargetPredicate;
    • angerPredicate

      private final Predicate<LivingEntity> angerPredicate
      Mappings:
      Namespace Name Mixin selector
      official o Lbtt$c;o:Ljava/util/function/Predicate;
      intermediary field_40735 Lnet/minecraft/class_1560$class_1562;field_40735:Ljava/util/function/Predicate;
      named angerPredicate Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;angerPredicate:Ljava/util/function/Predicate;
  • Constructor Details

    • TeleportTowardsPlayerGoal

      public TeleportTowardsPlayerGoal(EndermanEntity enderman, @Nullable @Nullable Predicate<LivingEntity> targetPredicate)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbtt$c;<init>(Lbtt;Ljava/util/function/Predicate;)V
      intermediary <init> Lnet/minecraft/class_1560$class_1562;<init>(Lnet/minecraft/class_1560;Ljava/util/function/Predicate;)V
      named <init> Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;<init>(Lnet/minecraft/entity/mob/EndermanEntity;Ljava/util/function/Predicate;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class ActiveTargetGoal<PlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbky;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 ActiveTargetGoal<PlayerEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Lbky;c()V
      intermediary method_6269 Lnet/minecraft/class_1352;method_6269()V
      named start Lnet/minecraft/entity/ai/goal/Goal;start()V
    • stop

      public void stop()
      Overrides:
      stop in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      official d Lbky;d()V
      intermediary method_6270 Lnet/minecraft/class_1352;method_6270()V
      named stop Lnet/minecraft/entity/ai/goal/Goal;stop()V
    • shouldContinue

      public boolean shouldContinue()
      Overrides:
      shouldContinue in class TrackTargetGoal
      Mappings:
      Namespace Name Mixin selector
      official b Lbky;b()Z
      intermediary method_6266 Lnet/minecraft/class_1352;method_6266()Z
      named shouldContinue Lnet/minecraft/entity/ai/goal/Goal;shouldContinue()Z
    • tick

      public void tick()
      Overrides:
      tick in class Goal
      Mappings:
      Namespace Name Mixin selector
      official e Lbky;e()V
      intermediary method_6268 Lnet/minecraft/class_1352;method_6268()V
      named tick Lnet/minecraft/entity/ai/goal/Goal;tick()V