Package net.citizensnpcs.npc.ai.tree
Class BehaviorTreeParser
java.lang.Object
net.citizensnpcs.npc.ai.tree.BehaviorTreeParser
Parses DataKey structures into Behavior trees.
The eval block allows evaluating expressions without backtick wrappers. It takes the expression language as an
argument (e.g., "eval molang:"). If no language is specified, the default engine is used.
Lines starting with ` are also auto-evaluated as expressions:
- `inv.add(item.json('{"material":"DIAMOND","amount":64}'))`
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BehaviorTreeParser
-
-
Method Details
-
parse
Parses a behavior tree from a DataKey.
-