Class HideInHomeDuringRaidTask


public class HideInHomeDuringRaidTask
extends HideInHomeTask
Mappings:
Namespace Name
official atr
intermediary net/minecraft/class_4247
named net/minecraft/entity/ai/brain/task/HideInHomeDuringRaidTask
  • Constructor Details

    • HideInHomeDuringRaidTask

      public HideInHomeDuringRaidTask​(int maxDistance, float walkSpeed)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latr;<init>(IF)V
      intermediary <init> Lnet/minecraft/class_4247;<init>(IF)V
      named <init> Lnet/minecraft/entity/ai/brain/task/HideInHomeDuringRaidTask;<init>(IF)V
  • Method Details

    • shouldRun

      protected boolean shouldRun​(ServerWorld world, LivingEntity entity)
      Overrides:
      shouldRun in class HideInHomeTask
      Mappings:
      Namespace Name Mixin selector
      official a Lass;a(Laav;Lari;)Z
      intermediary method_18919 Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
      named shouldRun Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z