Class HideInHomeDuringRaidTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.HideInHomeTask
net.minecraft.entity.ai.brain.task.HideInHomeDuringRaidTask
- Mappings:
Namespace Name official bdt
intermediary net/minecraft/class_4247
named net/minecraft/entity/ai/brain/task/HideInHomeDuringRaidTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
shouldRun
(ServerWorld world, LivingEntity entity) Methods inherited from class net.minecraft.entity.ai.brain.task.HideInHomeTask
run
Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Constructor Details
-
HideInHomeDuringRaidTask
public HideInHomeDuringRaidTask(int maxDistance, float walkSpeed) - Mappings:
Namespace Name Mixin selector official <init>
Lbdt;<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
- Overrides:
shouldRun
in classHideInHomeTask
- Mappings:
Namespace Name Mixin selector official a
Lbcr;a(Lafo;Lbbf;)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
-