Package net.citizensnpcs.npc.ai.tree
Class CitizensBehaviorRegistry
java.lang.Object
net.citizensnpcs.api.ai.tree.BehaviorRegistry
net.citizensnpcs.npc.ai.tree.CitizensBehaviorRegistry
Citizens2-specific extension of BehaviorRegistry. Adds behaviors that depend on Citizens2 implementation classes.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.citizensnpcs.api.ai.tree.BehaviorRegistry
BehaviorRegistry.BehaviorContext, BehaviorRegistry.BehaviorFactory -
Constructor Summary
ConstructorsConstructorDescriptionCitizensBehaviorRegistry(ExpressionRegistry expressionRegistry) CitizensBehaviorRegistry(ExpressionRegistry expressionRegistry, SignalManager signalManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidRegisters default built-in behaviors.Methods inherited from class net.citizensnpcs.api.ai.tree.BehaviorRegistry
createBehavior, getExpressionRegistry, getSignalManager, hasBehavior, parseDuration, registerBehavior
-
Constructor Details
-
CitizensBehaviorRegistry
public CitizensBehaviorRegistry() -
CitizensBehaviorRegistry
-
CitizensBehaviorRegistry
-
-
Method Details
-
registerDefaults
protected void registerDefaults()Description copied from class:BehaviorRegistryRegisters default built-in behaviors.- Overrides:
registerDefaultsin classBehaviorRegistry
-