Class EndermanEntity.TeleportTowardsPlayerGoal

Enclosing class:
EndermanEntity

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

    • enderman

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

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

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

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

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

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

      private final TargetPredicate.EntityPredicate angerPredicate
      Mappings:
      Namespace Name Mixin selector
      named angerPredicate Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;angerPredicate:Lnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;
      intermediary field_40735 Lnet/minecraft/class_1560$class_1562;field_40735:Lnet/minecraft/class_4051$class_10254;
      official o Lcmm$c;o:Lcgw$a;
  • Constructor Details

    • TeleportTowardsPlayerGoal

      public TeleportTowardsPlayerGoal(EndermanEntity enderman, @Nullable TargetPredicate.EntityPredicate targetPredicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;<init>(Lnet/minecraft/entity/mob/EndermanEntity;Lnet/minecraft/entity/ai/TargetPredicate$EntityPredicate;)V
      intermediary <init> Lnet/minecraft/class_1560$class_1562;<init>(Lnet/minecraft/class_1560;Lnet/minecraft/class_4051$class_10254;)V
      official <init> Lcmm$c;<init>(Lcmm;Lcgw$a;)V
  • Method Details

    • canStart

      public boolean canStart()
      Overrides:
      canStart in class ActiveTargetGoal<PlayerEntity>
      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<PlayerEntity>
      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
    • stop

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

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

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