Class RandomLookAround
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Mob>
net.minecraft.world.entity.ai.behavior.RandomLookAround
- All Implemented Interfaces:
BehaviorControl<Mob>
-
Nested Class Summary
Nested classes/interfaces inherited from class Behavior
Behavior.Status -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final IntProviderprivate final floatprivate final floatprivate final floatFields inherited from class Behavior
DEFAULT_DURATION, entryCondition -
Constructor Summary
ConstructorsConstructorDescriptionRandomLookAround(IntProvider interval, float maxYaw, float minPitch, float maxPitch) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidstart(ServerLevel level, Mob body, long timestamp) Methods inherited from class Behavior
canStillUse, checkExtraStartConditions, debugString, doStop, getRequiredMemories, getStatus, hasRequiredMemories, stop, tick, tickOrStop, timedOut, tryStart