Class AdmireItemTimeLimitTask<E extends PiglinEntity>
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<E>
net.minecraft.entity.ai.brain.task.AdmireItemTimeLimitTask<E>
- Mappings:
Namespace Name official bji
intermediary net/minecraft/class_5430
named net/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask
-
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
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld serverWorld, E e, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, E e) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
timeLimit
private final int timeLimit- Mappings:
Namespace Name Mixin selector official a
Lbji;a:I
intermediary field_25815
Lnet/minecraft/class_5430;field_25815:I
named timeLimit
Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;timeLimit:I
-
cooldown
private final int cooldown- Mappings:
Namespace Name Mixin selector official c
Lbji;c:I
intermediary field_25816
Lnet/minecraft/class_5430;field_25816:I
named cooldown
Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;cooldown:I
-
-
Constructor Details
-
AdmireItemTimeLimitTask
public AdmireItemTimeLimitTask(int timeLimit, int cooldown) - Mappings:
Namespace Name Mixin selector official <init>
Lbji;<init>(II)V
intermediary <init>
Lnet/minecraft/class_5430;<init>(II)V
named <init>
Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;<init>(II)V
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<E extends PiglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbji;a(Labr;Lbiz;)Z
intermediary method_30337
Lnet/minecraft/class_5430;method_30337(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;)Z
-
run
- Overrides:
run
in classTask<E extends PiglinEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbji;a(Labr;Lbiz;J)V
intermediary method_30338
Lnet/minecraft/class_5430;method_30338(Lnet/minecraft/class_3218;Lnet/minecraft/class_4836;J)V
named run
Lnet/minecraft/entity/ai/brain/task/AdmireItemTimeLimitTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinEntity;J)V
-