Package net.minecraft.entity.mob
Class EndermanEntity.TeleportTowardsPlayerGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.ai.goal.TrackTargetGoal
net.minecraft.entity.ai.goal.ActiveTargetGoal<PlayerEntity>
net.minecraft.entity.mob.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 cjt$c
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.goal.Goal
Goal.Control
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate
<LivingEntity> private final EndermanEntity
private int
private final TargetPredicate
private @Nullable PlayerEntity
private int
private final TargetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
reciprocalChance, targetClass, targetEntity, targetPredicate
Fields inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
checkVisibility, maxTimeWithoutVisibility, mob, target
-
Constructor Summary
ConstructorDescriptionTeleportTowardsPlayerGoal
(EndermanEntity enderman, @Nullable Predicate<LivingEntity> targetPredicate) -
Method Summary
Methods inherited from class net.minecraft.entity.ai.goal.ActiveTargetGoal
findClosestTarget, getSearchBox, setTargetEntity
Methods inherited from class net.minecraft.entity.ai.goal.TrackTargetGoal
canTrack, getFollowRange, setMaxTimeWithoutVisibility
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canStop, getControls, getTickCount, setControls, shouldRunEveryTick, toGoalTicks, toString
-
Field Details
-
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
Lcjt$c;i:Lcjt;
-
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
Lcjt$c;j:Lcmx;
-
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
Lcjt$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
Lcjt$c;l:I
-
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
Lcjt$c;m:Lcef;
-
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
Lcjt$c;n:Lcef;
-
angerPredicate
- Mappings:
Namespace Name Mixin selector named angerPredicate
Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;angerPredicate:Ljava/util/function/Predicate;
intermediary field_40735
Lnet/minecraft/class_1560$class_1562;field_40735:Ljava/util/function/Predicate;
official o
Lcjt$c;o:Ljava/util/function/Predicate;
-
-
Constructor Details
-
TeleportTowardsPlayerGoal
public TeleportTowardsPlayerGoal(EndermanEntity enderman, @Nullable @Nullable Predicate<LivingEntity> targetPredicate) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/mob/EndermanEntity$TeleportTowardsPlayerGoal;<init>(Lnet/minecraft/entity/mob/EndermanEntity;Ljava/util/function/Predicate;)V
intermediary <init>
Lnet/minecraft/class_1560$class_1562;<init>(Lnet/minecraft/class_1560;Ljava/util/function/Predicate;)V
official <init>
Lcjt$c;<init>(Lcjt;Ljava/util/function/Predicate;)V
-
-
Method Details
-
canStart
public boolean canStart()- Overrides:
canStart
in classActiveTargetGoal<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
Lcam;b()Z
-
start
public void start()- Overrides:
start
in classActiveTargetGoal<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
Lcam;d()V
-
stop
public void stop()- Overrides:
stop
in classTrackTargetGoal
- 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
Lcam;e()V
-
shouldContinue
public boolean shouldContinue()- Overrides:
shouldContinue
in classTrackTargetGoal
- 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
Lcam;c()Z
-
tick
public void tick()
-