Class GoToCelebrateTask<E extends MobEntity>

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.GoToCelebrateTask<E>

public class GoToCelebrateTask<E extends MobEntity> extends Task<E>
Mappings:
Namespace Name
official bdl
intermediary net/minecraft/class_4814
named net/minecraft/entity/ai/brain/task/GoToCelebrateTask
  • Field Details

    • memoryModuleType

      private final MemoryModuleType<BlockPos> memoryModuleType
      Mappings:
      Namespace Name Mixin selector
      official a Lbdl;a:Lbjx;
      intermediary field_38101 Lnet/minecraft/class_4814;field_38101:Lnet/minecraft/class_4140;
      named memoryModuleType Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;memoryModuleType:Lnet/minecraft/entity/ai/brain/MemoryModuleType;
    • completionRange

      private final int completionRange
      Mappings:
      Namespace Name Mixin selector
      official d Lbdl;d:I
      intermediary field_22304 Lnet/minecraft/class_4814;field_22304:I
      named completionRange Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;completionRange:I
    • speed

      private final float speed
      Mappings:
      Namespace Name Mixin selector
      official e Lbdl;e:F
      intermediary field_23130 Lnet/minecraft/class_4814;field_23130:F
      named speed Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;speed:F
  • Constructor Details

    • GoToCelebrateTask

      public GoToCelebrateTask(MemoryModuleType<BlockPos> memoryModuleType, int completionRange, float speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdl;<init>(Lbjx;IF)V
      intermediary <init> Lnet/minecraft/class_4814;<init>(Lnet/minecraft/class_4140;IF)V
      named <init> Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;<init>(Lnet/minecraft/entity/ai/brain/MemoryModuleType;IF)V
  • Method Details

    • run

      protected void run(ServerWorld serverWorld, MobEntity mobEntity, long long2)
      Overrides:
      run in class Task<E extends MobEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbdl;a(Lafo;Lbbh;J)V
      intermediary method_24579 Lnet/minecraft/class_4814;method_24579(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
      named run Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
    • fuzz

      private static BlockPos fuzz(MobEntity mob, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdl;a(Lbbh;Lgt;)Lgt;
      intermediary method_24577 Lnet/minecraft/class_4814;method_24577(Lnet/minecraft/class_1308;Lnet/minecraft/class_2338;)Lnet/minecraft/class_2338;
      named fuzz Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;fuzz(Lnet/minecraft/entity/mob/MobEntity;Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/util/math/BlockPos;
    • fuzz

      private static int fuzz(Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdl;a(Lalu;)I
      intermediary method_24578 Lnet/minecraft/class_4814;method_24578(Lnet/minecraft/class_5819;)I
      named fuzz Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;fuzz(Lnet/minecraft/util/math/random/Random;)I
    • getCelebrateLocation

      private BlockPos getCelebrateLocation(MobEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbdl;a(Lbbh;)Lgt;
      intermediary method_24576 Lnet/minecraft/class_4814;method_24576(Lnet/minecraft/class_1308;)Lnet/minecraft/class_2338;
      named getCelebrateLocation Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;getCelebrateLocation(Lnet/minecraft/entity/mob/MobEntity;)Lnet/minecraft/util/math/BlockPos;