Class DismountVehicleTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<LivingEntity>
net.minecraft.entity.ai.brain.task.DismountVehicleTask
- All Implemented Interfaces:
Task<LivingEntity>
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/DismountVehicleTask
intermediary net/minecraft/class_7521
official cbt
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld world, LivingEntity entity, long time) protected boolean
shouldRun
(ServerWorld world, LivingEntity entity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
finishRunning, getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, tryStarting
-
Constructor Details
-
DismountVehicleTask
public DismountVehicleTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector named shouldRun
Lnet/minecraft/entity/ai/brain/task/MultiTickTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
intermediary method_18919
Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
official a
Lbxy;a(Lash;Lbwf;)Z
-
run
- Overrides:
run
in classMultiTickTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/ai/brain/task/MultiTickTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
intermediary method_18920
Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
official d
Lbxy;d(Lash;Lbwf;J)V
-