Class RingBellTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.RingBellTask
- Mappings:
Namespace Name official bfk
intermediary net/minecraft/class_4251
named net/minecraft/entity/ai/brain/task/RingBellTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
private static final float
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld world, LivingEntity entity, long time) protected boolean
shouldRun
(ServerWorld world, LivingEntity entity) Methods inherited from class net.minecraft.entity.ai.brain.task.Task
finishRunning, getStatus, isTimeLimitExceeded, keepRunning, shouldKeepRunning, stop, tick, toString, tryStarting
-
Field Details
-
RUN_CHANCE
private static final float RUN_CHANCE- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbfk;d:F
intermediary field_30160
Lnet/minecraft/class_4251;field_30160:F
named RUN_CHANCE
Lnet/minecraft/entity/ai/brain/task/RingBellTask;RUN_CHANCE:F
-
MAX_DISTANCE
public static final int MAX_DISTANCE- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbfk;a:I
intermediary field_30159
Lnet/minecraft/class_4251;field_30159:I
named MAX_DISTANCE
Lnet/minecraft/entity/ai/brain/task/RingBellTask;MAX_DISTANCE:I
-
-
Constructor Details
-
RingBellTask
public RingBellTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRun
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbdo;a(Lagg;Lbcc;)Z
intermediary method_18919
Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Z
named shouldRun
Lnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
-
run
- Overrides:
run
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Lbdo;a(Lagg;Lbcc;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
-