Class ForgetBellRingTask

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

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

    • MIN_HEARD_BELL_TIME

      private static final int MIN_HEARD_BELL_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbet;a:I
      intermediary field_30165 Lnet/minecraft/class_4252;field_30165:I
      named MIN_HEARD_BELL_TIME Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;MIN_HEARD_BELL_TIME:I
    • distance

      private final int distance
      Mappings:
      Namespace Name Mixin selector
      official d Lbet;d:I
      intermediary field_19154 Lnet/minecraft/class_4252;field_19154:I
      named distance Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;distance:I
    • maxHiddenTicks

      private final int maxHiddenTicks
      Mappings:
      Namespace Name Mixin selector
      official e Lbet;e:I
      intermediary field_19000 Lnet/minecraft/class_4252;field_19000:I
      named maxHiddenTicks Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;maxHiddenTicks:I
    • hiddenTicks

      private int hiddenTicks
      Mappings:
      Namespace Name Mixin selector
      official f Lbet;f:I
      intermediary field_19001 Lnet/minecraft/class_4252;field_19001:I
      named hiddenTicks Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;hiddenTicks:I
  • Constructor Details

    • ForgetBellRingTask

      public ForgetBellRingTask(int maxHiddenSeconds, int distance)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbet;<init>(II)V
      intermediary <init> Lnet/minecraft/class_4252;<init>(II)V
      named <init> Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;<init>(II)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