Package net.citizensnpcs.api.ai.tree
Class BehaviorRegistry.BehaviorContext
java.lang.Object
net.citizensnpcs.api.ai.tree.BehaviorRegistry.BehaviorContext
- Enclosing class:
BehaviorRegistry
Context passed to behavior factories during creation. Provides access to NPC, expression scope, memory, and
argument parsing utilities.
-
Constructor Summary
ConstructorsConstructorDescriptionBehaviorContext(NPC npc, ExpressionScope scope, ExpressionRegistry expressionRegistry, Memory memory) -
Method Summary
-
Constructor Details
-
BehaviorContext
public BehaviorContext(NPC npc, ExpressionScope scope, ExpressionRegistry expressionRegistry, Memory memory)
-
-
Method Details
-
getArgOrParam
-
getArgs
-
getExpressionRegistry
-
getFromParsedArgs
-
getMemory
-
getNPC
-
getScope
-
parseArgs
-
setArgs
-