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 ath
intermediary net/minecraft/class_4814
named net/minecraft/entity/ai/brain/task/GoToCelebrateTask
  • Field Details

    • completionRange

      private final int completionRange
      Mappings:
      Namespace Name Mixin selector
      official b Lath;b: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 c Lath;c: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​(int completionRange, float speed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lath;<init>(IF)V
      intermediary <init> Lnet/minecraft/class_4814;<init>(IF)V
      named <init> Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;<init>(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 Lath;a(Laav;Larj;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 Lath;a(Larj;Lfx;)Lfx;
      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 Lath;a(Ljava/util/Random;)I
      intermediary method_24578 Lnet/minecraft/class_4814;method_24578(Ljava/util/Random;)I
      named fuzz Lnet/minecraft/entity/ai/brain/task/GoToCelebrateTask;fuzz(Ljava/util/Random;)I
    • getCelebrateLocation

      private static BlockPos getCelebrateLocation​(MobEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lath;a(Larj;)Lfx;
      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;