Class StartRidingTask<E extends LivingEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.StartRidingTask<E>
- Mappings:
Namespace Name official awl
intermediary net/minecraft/class_4817
named net/minecraft/entity/ai/brain/task/StartRidingTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate Entity
getRideTarget(E entity)
private boolean
isRideTargetClose(E entity)
protected void
run(ServerWorld world, E entity, long time)
protected boolean
shouldRun(ServerWorld world, E entity)
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
COMPLETION_RANGE
private static final int COMPLETION_RANGE- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official a
Lawl;a:I
intermediary field_30149
Lnet/minecraft/class_4817;field_30149:I
named COMPLETION_RANGE
Lnet/minecraft/entity/ai/brain/task/StartRidingTask;COMPLETION_RANGE:I
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official c
Lawl;c:F
intermediary field_23132
Lnet/minecraft/class_4817;field_23132:F
named speed
Lnet/minecraft/entity/ai/brain/task/StartRidingTask;speed:F
-
-
Constructor Details
-
StartRidingTask
public StartRidingTask(float speed)- Mappings:
Namespace Name Mixin selector official <init>
Lawl;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4817;<init>(F)V
named <init>
Lnet/minecraft/entity/ai/brain/task/StartRidingTask;<init>(F)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Labr;Latt;)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:
run
in classTask<E extends LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lavg;a(Labr;Latt;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
-
isRideTargetClose
- Mappings:
Namespace Name Mixin selector official a
Lawl;a(Latt;)Z
intermediary method_24591
Lnet/minecraft/class_4817;method_24591(Lnet/minecraft/class_1309;)Z
named isRideTargetClose
Lnet/minecraft/entity/ai/brain/task/StartRidingTask;isRideTargetClose(Lnet/minecraft/entity/LivingEntity;)Z
-
getRideTarget
- Mappings:
Namespace Name Mixin selector official b
Lawl;b(Latt;)Latf;
intermediary method_24592
Lnet/minecraft/class_4817;method_24592(Lnet/minecraft/class_1309;)Lnet/minecraft/class_1297;
named getRideTarget
Lnet/minecraft/entity/ai/brain/task/StartRidingTask;getRideTarget(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/entity/Entity;
-