Class SingleTickTask<E extends LivingEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.SingleTickTask<E>
All Implemented Interfaces:
Task<E>, TaskRunnable<E>

public abstract class SingleTickTask<E extends LivingEntity> extends Object implements Task<E>, TaskRunnable<E>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/SingleTickTask
intermediary net/minecraft/class_7894
official bzj
  • Field Details

    • status

      private MultiTickTask.Status status
      Mappings:
      Namespace Name Mixin selector
      named status Lnet/minecraft/entity/ai/brain/task/SingleTickTask;status:Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
      intermediary field_40994 Lnet/minecraft/class_7894;field_40994:Lnet/minecraft/class_4097$class_4098;
      official a Lbzj;a:Lbxy$a;
  • Constructor Details

    • SingleTickTask

      public SingleTickTask()
  • Method Details

    • getStatus

      public final MultiTickTask.Status getStatus()
      Specified by:
      getStatus in interface Task<E extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named getStatus Lnet/minecraft/entity/ai/brain/task/Task;getStatus()Lnet/minecraft/entity/ai/brain/task/MultiTickTask$Status;
      intermediary method_18921 Lnet/minecraft/class_7893;method_18921()Lnet/minecraft/class_4097$class_4098;
      official a Lbxz;a()Lbxy$a;
    • tryStarting

      public final boolean tryStarting(ServerWorld world, E entity, long time)
      Specified by:
      tryStarting in interface Task<E extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named tryStarting Lnet/minecraft/entity/ai/brain/task/Task;tryStarting(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)Z
      intermediary method_18922 Lnet/minecraft/class_7893;method_18922(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Z
      official e Lbxz;e(Lash;Lbwf;J)Z
    • tick

      public final void tick(ServerWorld world, E entity, long time)
      Specified by:
      tick in interface Task<E extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/ai/brain/task/Task;tick(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
      intermediary method_18923 Lnet/minecraft/class_7893;method_18923(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      official f Lbxz;f(Lash;Lbwf;J)V
    • stop

      public final void stop(ServerWorld world, E entity, long time)
      Specified by:
      stop in interface Task<E extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named stop Lnet/minecraft/entity/ai/brain/task/Task;stop(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
      intermediary method_18925 Lnet/minecraft/class_7893;method_18925(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
      official g Lbxz;g(Lash;Lbwf;J)V
    • getName

      public String getName()
      Specified by:
      getName in interface Task<E extends LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/ai/brain/task/Task;getName()Ljava/lang/String;
      intermediary method_46910 Lnet/minecraft/class_7893;method_46910()Ljava/lang/String;
      official b Lbxz;b()Ljava/lang/String;