Class RandomLookAroundTask
java.lang.Object
net.minecraft.entity.ai.brain.task.MultiTickTask<MobEntity>
net.minecraft.entity.ai.brain.task.RandomLookAroundTask
- Mappings:
Namespace Name named net/minecraft/entity/ai/brain/task/RandomLookAroundTask
intermediary net/minecraft/class_7687
official bww
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
MultiTickTask.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final IntProvider
private final float
private final float
private final float
Fields inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
DEFAULT_RUN_TIME, requiredMemoryStates
-
Constructor Summary
ConstructorDescriptionRandomLookAroundTask
(IntProvider cooldown, float maxYaw, float minPitch, float maxPitch) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
run
(ServerWorld serverWorld, MobEntity mobEntity, long long2) Methods inherited from class net.minecraft.entity.ai.brain.task.MultiTickTask
finishRunning, getName, getStatus, hasRequiredMemoryState, isTimeLimitExceeded, keepRunning, shouldKeepRunning, shouldRun, stop, tick, tryStarting
-
Field Details
-
cooldown
- Mappings:
Namespace Name Mixin selector named cooldown
Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;cooldown:Lnet/minecraft/util/math/intprovider/IntProvider;
intermediary field_40119
Lnet/minecraft/class_7687;field_40119:Lnet/minecraft/class_6017;
official c
Lbww;c:Lbpv;
-
maxYaw
private final float maxYaw- Mappings:
Namespace Name Mixin selector named maxYaw
Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;maxYaw:F
intermediary field_40120
Lnet/minecraft/class_7687;field_40120:F
official d
Lbww;d:F
-
minPitch
private final float minPitch- Mappings:
Namespace Name Mixin selector named minPitch
Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;minPitch:F
intermediary field_40121
Lnet/minecraft/class_7687;field_40121:F
official e
Lbww;e:F
-
pitchRange
private final float pitchRange- Mappings:
Namespace Name Mixin selector named pitchRange
Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;pitchRange:F
intermediary field_40122
Lnet/minecraft/class_7687;field_40122:F
official f
Lbww;f:F
-
-
Constructor Details
-
RandomLookAroundTask
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;<init>(Lnet/minecraft/util/math/intprovider/IntProvider;FFF)V
intermediary <init>
Lnet/minecraft/class_7687;<init>(Lnet/minecraft/class_6017;FFF)V
official <init>
Lbww;<init>(Lbpv;FFF)V
-
-
Method Details
-
run
- Overrides:
run
in classMultiTickTask<MobEntity>
- Mappings:
Namespace Name Mixin selector named run
Lnet/minecraft/entity/ai/brain/task/RandomLookAroundTask;run(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/MobEntity;J)V
intermediary method_45334
Lnet/minecraft/class_7687;method_45334(Lnet/minecraft/class_3218;Lnet/minecraft/class_1308;J)V
official a
Lbww;a(Laqt;Lbtn;J)V
-