What are AI goals?
AI goals are how entities behave, how they interact with the world around them. There are two types of goals: entity goals, and target goals, where entity goals are how entities behave, and target goals is how they decide who to attack.
Configuring a goal
A goal consists of a key, a priority, and some arguments (options) - for example:
- key: minecraft:tempt
Priorities are calculated in descending order, so 0 is the top priority, et cetera. All items use item lookup strings, as do all entities, so you can use custom items and entities in your goals.