Class StopPanickingTask

java.lang.Object
net.minecraft.entity.ai.brain.task.Task<VillagerEntity>
net.minecraft.entity.ai.brain.task.StopPanickingTask

public class StopPanickingTask extends Task<VillagerEntity>
Mappings:
Namespace Name
official bfx
intermediary net/minecraft/class_4100
named net/minecraft/entity/ai/brain/task/StopPanickingTask
  • Field Details

    • MAX_DISTANCE

      private static final int MAX_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbfx;a:I
      intermediary field_30188 Lnet/minecraft/class_4100;field_30188:I
      named MAX_DISTANCE Lnet/minecraft/entity/ai/brain/task/StopPanickingTask;MAX_DISTANCE:I
  • Constructor Details

    • StopPanickingTask

      public StopPanickingTask()
  • Method Details

    • run

      protected void run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      run in class Task<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Lbfx;a(Lafo;Lbss;J)V
      intermediary method_20645 Lnet/minecraft/class_4100;method_20645(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named run Lnet/minecraft/entity/ai/brain/task/StopPanickingTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • wasHurtByNearbyEntity

      private static boolean wasHurtByNearbyEntity(VillagerEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfx;a(Lbss;)Z
      intermediary method_19557 Lnet/minecraft/class_4100;method_19557(Lnet/minecraft/class_1646;)Z
      named wasHurtByNearbyEntity Lnet/minecraft/entity/ai/brain/task/StopPanickingTask;wasHurtByNearbyEntity(Lnet/minecraft/entity/passive/VillagerEntity;)Z