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 bex
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
Modifier and TypeFieldDescriptionprivate static final int
private final float
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, 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:
- Mappings:
Namespace Name Mixin selector official a
Lbex;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 d
Lbex;d: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>
Lbex;<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
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:
run
in classTask<E extends 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
-
isRideTargetClose
- Mappings:
Namespace Name Mixin selector official a
Lbex;a(Lbcc;)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
Lbex;b(Lbcc;)Lbbn;
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;
-