Class GoTowardsLookTarget
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.GoTowardsLookTarget
- Mappings:
- Namespace - Name - official - bfw- intermediary - net/minecraft/class_4120- named - net/minecraft/entity/ai/brain/task/GoTowardsLookTarget
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.TaskTask.Status
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final intprivate final Predicate<LivingEntity>private final Function<LivingEntity,Float> Fields inherited from class net.minecraft.entity.ai.brain.task.TaskDEFAULT_RUN_TIME, requiredMemoryStates
- 
Constructor SummaryConstructorsConstructorDescriptionGoTowardsLookTarget(float speed, int completionRange) GoTowardsLookTarget(Predicate<LivingEntity> predicate, Function<LivingEntity, Float> speed, int completionRange) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidrun(ServerWorld world, LivingEntity entity, long time) protected booleanshouldRun(ServerWorld world, LivingEntity entity) Methods inherited from class net.minecraft.entity.ai.brain.task.TaskfinishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
- 
Field Details- 
speed- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbfw;a:Ljava/util/function/Function;- intermediary - field_18378- Lnet/minecraft/class_4120;field_18378:Ljava/util/function/Function;- named - speed- Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTarget;speed:Ljava/util/function/Function;
 
- 
completionRangeprivate final int completionRange- Mappings:
- Namespace - Name - Mixin selector - official - d- Lbfw;d:I- intermediary - field_19002- Lnet/minecraft/class_4120;field_19002:I- named - completionRange- Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTarget;completionRange:I
 
- 
predicate- Mappings:
- Namespace - Name - Mixin selector - official - e- Lbfw;e:Ljava/util/function/Predicate;- intermediary - field_34049- Lnet/minecraft/class_4120;field_34049:Ljava/util/function/Predicate;- named - predicate- Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTarget;predicate:Ljava/util/function/Predicate;
 
 
- 
- 
Constructor Details- 
GoTowardsLookTargetpublic GoTowardsLookTarget(float speed, int completionRange) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbfw;<init>(FI)V- intermediary - <init>- Lnet/minecraft/class_4120;<init>(FI)V- named - <init>- Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTarget;<init>(FI)V
 
- 
GoTowardsLookTargetpublic GoTowardsLookTarget(Predicate<LivingEntity> predicate, Function<LivingEntity, Float> speed, int completionRange) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lbfw;<init>(Ljava/util/function/Predicate;Ljava/util/function/Function;I)V- intermediary - <init>- Lnet/minecraft/class_4120;<init>(Ljava/util/function/Predicate;Ljava/util/function/Function;I)V- named - <init>- Lnet/minecraft/entity/ai/brain/task/GoTowardsLookTarget;<init>(Ljava/util/function/Predicate;Ljava/util/function/Function;I)V
 
 
- 
- 
Method Details- 
shouldRun- Overrides:
- shouldRunin class- Task<LivingEntity>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbdo;a(Lagg;Lbcc;)Z- intermediary - method_18919- Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z- named - shouldRun- Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
 
- 
run- Overrides:
- runin class- Task<LivingEntity>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lbdo;a(Lagg;Lbcc;J)V- intermediary - method_18920- Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V- named - run- Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
 
 
-