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>

public class DismountVehicleTask extends MultiTickTask<LivingEntity>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/DismountVehicleTask
intermediary net/minecraft/class_7521
official cbt
  • Constructor Details

    • DismountVehicleTask

      public DismountVehicleTask()
  • Method Details

    • shouldRun

      protected boolean shouldRun(ServerWorld world, LivingEntity entity)
      Overrides:
      shouldRun in class MultiTickTask<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

      protected void run(ServerWorld world, LivingEntity entity, long time)
      Overrides:
      run in class MultiTickTask<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