Class RingBellTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.RingBellTask
public class RingBellTask extends Task<LivingEntity>
- Mappings:
Namespace Name official awaintermediary net/minecraft/class_4251named 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
Fields Modifier and Type Field Description static intMAX_DISTANCEprivate static floatRUN_CHANCEFields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates -
Constructor Summary
Constructors Constructor Description RingBellTask() -
Method Summary
Modifier and Type Method Description protected voidrun(ServerWorld world, LivingEntity entity, long time)protected booleanshouldRun(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:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cLawa;c:Fintermediary field_30160Lnet/minecraft/class_4251;field_30160:Fnamed RUN_CHANCELnet/minecraft/entity/ai/brain/task/RingBellTask;RUN_CHANCE:F
-
MAX_DISTANCE
public static final int MAX_DISTANCE- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official aLawa;a:Iintermediary field_30159Lnet/minecraft/class_4251;field_30159:Inamed MAX_DISTANCELnet/minecraft/entity/ai/brain/task/RingBellTask;MAX_DISTANCE:I
-
-
Constructor Details
-
RingBellTask
public RingBellTask()
-
-
Method Details
-
shouldRun
- Overrides:
shouldRunin classTask<LivingEntity>- Mappings:
Namespace Name Mixin selector official aLauj;a(Labj;Lasy;)Zintermediary method_18919Lnet/minecraft/class_4097;method_18919(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Znamed shouldRunLnet/minecraft/entity/ai/brain/task/Task;shouldRun(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Z
-
run
- Overrides:
runin classTask<LivingEntity>- Mappings:
Namespace Name Mixin selector official aLauj;a(Labj;Lasy;J)Vintermediary method_18920Lnet/minecraft/class_4097;method_18920(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;J)Vnamed runLnet/minecraft/entity/ai/brain/task/Task;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;J)V
-