Class ForgetBellRingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.ForgetBellRingTask
- Mappings:
Namespace Name official bak
intermediary net/minecraft/class_4252
named net/minecraft/entity/ai/brain/task/ForgetBellRingTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private int
private final int
private static final int
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld world, LivingEntity entity, long time) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, toString, tryStarting
-
Field Details
-
MIN_HEARD_BELL_TIME
private static final int MIN_HEARD_BELL_TIME- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbak;a:I
intermediary field_30165
Lnet/minecraft/class_4252;field_30165:I
named MIN_HEARD_BELL_TIME
Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;MIN_HEARD_BELL_TIME:I
-
distance
private final int distance- Mappings:
Namespace Name Mixin selector official c
Lbak;c:I
intermediary field_19154
Lnet/minecraft/class_4252;field_19154:I
named distance
Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;distance:I
-
maxHiddenTicks
private final int maxHiddenTicks- Mappings:
Namespace Name Mixin selector official d
Lbak;d:I
intermediary field_19000
Lnet/minecraft/class_4252;field_19000:I
named maxHiddenTicks
Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;maxHiddenTicks:I
-
-
Constructor Details
-
ForgetBellRingTask
public ForgetBellRingTask(int maxHiddenSeconds, int distance) - Mappings:
Namespace Name Mixin selector official <init>
Lbak;<init>(II)V
intermediary <init>
Lnet/minecraft/class_4252;<init>(II)V
named <init>
Lnet/minecraft/entity/ai/brain/task/ForgetBellRingTask;<init>(II)V
-
-
Method Details
-
run
- Overrides:
run
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Laym;a(Ladc;Laxa;J)V
intermediary method_18920
Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)V
named run
Lnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-