Class PacifyTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.PacifyTask

public class PacifyTask extends Task<LivingEntity>
Mappings:
Namespace Name
official bcq
intermediary net/minecraft/class_4808
named net/minecraft/entity/ai/brain/task/PacifyTask
  • Field Details

    • duration

      private final int duration
      Mappings:
      Namespace Name Mixin selector
      official a Lbcq;a:I
      intermediary field_22287 Lnet/minecraft/class_4808;field_22287:I
      named duration Lnet/minecraft/entity/ai/brain/task/PacifyTask;duration:I
  • Constructor Details

    • PacifyTask

      public PacifyTask(MemoryModuleType<?> requiredMemoryModuleType, int duration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbcq;<init>(Lbjx;I)V
      intermediary <init> Lnet/minecraft/class_4808;<init>(Lnet/minecraft/class_4140;I)V
      named <init> Lnet/minecraft/entity/ai/brain/task/PacifyTask;<init>(Lnet/minecraft/entity/ai/brain/MemoryModuleType;I)V
  • Method Details

    • run

      protected void run(ServerWorld world, LivingEntity entity, long time)
      Overrides:
      run in class Task<LivingEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbcr;a(Lafo;Lbbf;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