Class HuntFinishTask<E extends PiglinEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.HuntFinishTask<E>
- Mappings:
Namespace Name official bsx
intermediary net/minecraft/class_4819
named net/minecraft/entity/ai/brain/task/HuntFinishTask
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
hasKilledHoglin
(E piglin) protected void
run
(ServerWorld serverWorld, E e, long long2) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
-
Constructor Details
-
HuntFinishTask
public HuntFinishTask()
-
-
Method Details
-
run
- Overrides:
run
in classTask<E extends PiglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbsx;a(Lagg;Lbss;J)V
intermediary method_24596
Lnet/minecraft/class_4819;method_24596(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;J)V
named run
Lnet/minecraft/entity/ai/brain/task/HuntFinishTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;J)V
-
hasKilledHoglin
- Mappings:
Namespace Name Mixin selector official a
Lbsx;a(Lbss;)Z
intermediary method_24595
Lnet/minecraft/class_4819;method_24595(Lnet/minecraft/class_4836;)Z
named hasKilledHoglin
Lnet/minecraft/entity/ai/brain/task/HuntFinishTask;hasKilledHoglin(Lnet/minecraft/entity/mob/PiglinEntity;)Z
-