Class SeekSkyTask
java.lang.Object
net.minecraft.entity.ai.brain.task.Task<LivingEntity>
net.minecraft.entity.ai.brain.task.SeekSkyTask
- Direct Known Subclasses:
SeekSkyAfterRaidWinTask
- Mappings:
Namespace Name official azz
intermediary net/minecraft/class_4248
named net/minecraft/entity/ai/brain/task/SeekSkyTask
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.Task
Task.Status
-
Field Summary
Fields inherited from class net.minecraft.entity.ai.brain.task.Task
requiredMemoryStates
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindNearbySky
(ServerWorld world, LivingEntity entity) static boolean
isSkyVisible
(ServerWorld world, LivingEntity entity, BlockPos pos) protected 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
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official a
Lazz;a:F
intermediary field_18999
Lnet/minecraft/class_4248;field_18999:F
named speed
Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;speed:F
-
-
Constructor Details
-
SeekSkyTask
public SeekSkyTask(float speed) - Mappings:
Namespace Name Mixin selector official <init>
Lazz;<init>(F)V
intermediary <init>
Lnet/minecraft/class_4248;<init>(F)V
named <init>
Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;<init>(F)V
-
-
Method Details
-
run
- Overrides:
run
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Layt;a(Ladi;Laxh;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
-
shouldRun
- Overrides:
shouldRun
in classTask<LivingEntity>
- Mappings:
Namespace Name Mixin selector official a
Layt;a(Ladi;Laxh;)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
-
findNearbySky
- Mappings:
Namespace Name Mixin selector official b
Lazz;b(Ladi;Laxh;)Ldom;
intermediary method_19987
Lnet/minecraft/class_4248;method_19987(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
named findNearbySky
Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;findNearbySky(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
-
isSkyVisible
- Mappings:
Namespace Name Mixin selector official a
Lazz;a(Ladi;Laxh;Lgh;)Z
intermediary method_20497
Lnet/minecraft/class_4248;method_20497(Lnet/minecraft/class_3218;Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)Z
named isSkyVisible
Lnet/minecraft/entity/ai/brain/task/SeekSkyTask;isSkyVisible(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;)Z
-