Class CroakTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<FrogEntity>
net.minecraft.entity.ai.brain.task.CroakTask
- All Implemented Interfaces:
Task<FrogEntity>
- Mappings:
Namespace Name official bgb
intermediary net/minecraft/class_7095
named net/minecraft/entity/ai/brain/task/CroakTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final int
private int
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
finishRunning
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected void
keepRunning
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected void
run
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected boolean
shouldKeepRunning
(ServerWorld serverWorld, FrogEntity frogEntity, long long2) protected boolean
shouldRun
(ServerWorld serverWorld, FrogEntity frogEntity) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, stop, tick, tryStarting
-
Field Details
-
MAX_RUN_TICK
private static final int MAX_RUN_TICK- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbgb;c:I
intermediary field_37424
Lnet/minecraft/class_7095;field_37424:I
named MAX_RUN_TICK
Lnet/minecraft/entity/ai/brain/task/CroakTask;MAX_RUN_TICK:I
-
RUN_TIME
private static final int RUN_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbgb;d:I
intermediary field_37425
Lnet/minecraft/class_7095;field_37425:I
named RUN_TIME
Lnet/minecraft/entity/ai/brain/task/CroakTask;RUN_TIME:I
-
runningTicks
private int runningTicks- Mappings:
Namespace Name Mixin selector official e
Lbgb;e:I
intermediary field_37426
Lnet/minecraft/class_7095;field_37426:I
named runningTicks
Lnet/minecraft/entity/ai/brain/task/CroakTask;runningTicks:I
-
-
Constructor Details
-
CroakTask
public CroakTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgb;a(Lahm;Lbrd;)Z
intermediary method_42648
Lnet/minecraft/class_7095;method_42648(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/CroakTask;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;)Z
-
shouldKeepRunning
- Overrides:
shouldKeepRunning
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbgb;a(Lahm;Lbrd;J)Z
intermediary method_41332
Lnet/minecraft/class_7095;method_41332(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)Z
named shouldKeepRunning
Lnet/minecraft/entity/ai/brain/task/CroakTask;shouldKeepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)Z
-
run
- Overrides:
run
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official b
Lbgb;b(Lahm;Lbrd;J)V
intermediary method_41333
Lnet/minecraft/class_7095;method_41333(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
named run
Lnet/minecraft/entity/ai/brain/task/CroakTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-
finishRunning
- Overrides:
finishRunning
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official c
Lbgb;c(Lahm;Lbrd;J)V
intermediary method_41334
Lnet/minecraft/class_7095;method_41334(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
named finishRunning
Lnet/minecraft/entity/ai/brain/task/CroakTask;finishRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-
keepRunning
- Overrides:
keepRunning
in classMultiTickTask<FrogEntity>
- Mappings:
Namespace Name Mixin selector official d
Lbgb;d(Lahm;Lbrd;J)V
intermediary method_41335
Lnet/minecraft/class_7095;method_41335(Lnet/minecraft/class_3218;Lnet/minecraft/class_7102;J)V
named keepRunning
Lnet/minecraft/entity/ai/brain/task/CroakTask;keepRunning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/FrogEntity;J)V
-