Class EmergeTask<E extends WardenEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<E>
net.minecraft.entity.ai.brain.task.EmergeTask<E>
All Implemented Interfaces:
Task<E>

public class EmergeTask<E extends WardenEntity> extends MultiTickTask<E>
Mappings:
Namespace Name
named net/minecraft/entity/ai/brain/task/EmergeTask
intermediary net/minecraft/class_7250
official cbs
  • Constructor Details

    • EmergeTask

      public EmergeTask(int duration)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/ai/brain/task/EmergeTask;<init>(I)V
      intermediary <init> Lnet/minecraft/class_7250;<init>(I)V
      official <init> Lcbs;<init>(I)V
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, E e, long long2)
      Overrides:
      shouldKeepRunning in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/EmergeTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)Z
      intermediary method_42155 Lnet/minecraft/class_7250;method_42155(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)Z
      official a Lcbs;a(Lash;Lcoz;J)Z
    • run

      protected void run(ServerWorld serverWorld, E e, long long2)
      Overrides:
      run in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      named run Lnet/minecraft/entity/ai/brain/task/EmergeTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
      intermediary method_42156 Lnet/minecraft/class_7250;method_42156(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      official b Lcbs;b(Lash;Lcoz;J)V
    • finishRunning

      protected void finishRunning(ServerWorld serverWorld, E e, long long2)
      Overrides:
      finishRunning in class MultiTickTask<E extends WardenEntity>
      Mappings:
      Namespace Name Mixin selector
      named finishRunning Lnet/minecraft/entity/ai/brain/task/EmergeTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/WardenEntity;J)V
      intermediary method_42157 Lnet/minecraft/class_7250;method_42157(Lnet/minecraft/class_3218;Lnet/minecraft/class_7260;J)V
      official c Lcbs;c(Lash;Lcoz;J)V