Class ForgetBellRingTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.ForgetBellRingTask
public class ForgetBellRingTask extends Task<LivingEntity>
- Mappings:
Namespace Name official aum
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
Fields Modifier and Type Field Description private int
distance
private int
hiddenTicks
private int
maxHiddenTicks
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
Constructors Constructor Description ForgetBellRingTask(int maxHiddenSeconds, int distance)
-
Method Summary
Modifier and Type Method Description protected 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
-
distance
private final int distance- Mappings:
Namespace Name Mixin selector official b
Laum;b: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 c
Laum;c: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>
Laum;<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
Lass;a(Laav;Lari;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
-