Class CamelAi.CamelPanic
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<Camel>
net.minecraft.world.entity.ai.behavior.AnimalPanic<Camel>
net.minecraft.world.entity.animal.camel.CamelAi.CamelPanic
- All Implemented Interfaces:
BehaviorControl<Camel>
- Enclosing class:
CamelAi
-
Nested Class Summary
Nested classes/interfaces inherited from class Behavior
Behavior.Status -
Field Summary
Fields inherited from class Behavior
DEFAULT_DURATION, entryCondition -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancheckExtraStartConditions(ServerLevel level, Camel body) protected voidstart(ServerLevel level, Camel camel, long timestamp) Methods inherited from class AnimalPanic
canStillUse, stop, tickMethods inherited from class Behavior
debugString, doStop, getRequiredMemories, getStatus, hasRequiredMemories, tickOrStop, timedOut, tryStart
-
Constructor Details
-
CamelPanic
public CamelPanic(float speedMultiplier)
-
-
Method Details
-
checkExtraStartConditions
- Overrides:
checkExtraStartConditionsin classAnimalPanic<Camel>
-
start
- Overrides:
startin classAnimalPanic<Camel>
-