Class PanicTask

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

public class PanicTask extends Task<VillagerEntity>
Mappings:
Namespace Name
official ayh
intermediary net/minecraft/class_4113
named net/minecraft/entity/ai/brain/task/PanicTask
  • Constructor Details

    • PanicTask

      public PanicTask()
  • Method Details

    • shouldKeepRunning

      protected boolean shouldKeepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      shouldKeepRunning in class Task<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      official a Layh;a(Labr;Lbjq;J)Z
      intermediary method_20646 Lnet/minecraft/class_4113;method_20646(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)Z
      named shouldKeepRunning Lnet/minecraft/entity/ai/brain/task/PanicTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)Z
    • run

      protected void run(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      run in class Task<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      official b Layh;b(Labr;Lbjq;J)V
      intermediary method_20647 Lnet/minecraft/class_4113;method_20647(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named run Lnet/minecraft/entity/ai/brain/task/PanicTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • keepRunning

      protected void keepRunning(ServerWorld serverWorld, VillagerEntity villagerEntity, long long2)
      Overrides:
      keepRunning in class Task<VillagerEntity>
      Mappings:
      Namespace Name Mixin selector
      official c Layh;c(Labr;Lbjq;J)V
      intermediary method_20648 Lnet/minecraft/class_4113;method_20648(Lnet/minecraft/class_3218;Lnet/minecraft/class_1646;J)V
      named keepRunning Lnet/minecraft/entity/ai/brain/task/PanicTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/VillagerEntity;J)V
    • isHostileNearby

      public static boolean isHostileNearby(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Layh;a(Latt;)Z
      intermediary method_19574 Lnet/minecraft/class_4113;method_19574(Lnet/minecraft/class_1309;)Z
      named isHostileNearby Lnet/minecraft/entity/ai/brain/task/PanicTask;isHostileNearby(Lnet/minecraft/entity/LivingEntity;)Z
    • wasHurt

      public static boolean wasHurt(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official b Layh;b(Latt;)Z
      intermediary method_19575 Lnet/minecraft/class_4113;method_19575(Lnet/minecraft/class_1309;)Z
      named wasHurt Lnet/minecraft/entity/ai/brain/task/PanicTask;wasHurt(Lnet/minecraft/entity/LivingEntity;)Z