| Name | <EntityTag.target_goals> |
| Returns | MapTag |
| Mechanism | EntityTag.add_target_goal |
| Description | Returns the target goals that were added to a mob by EntityTag.add_target_goal, as a map of goal ID to a map of its settings:
"matcher", "priority", "range" and "must_see", plus "target" (the entity being chased) while the goal is the one driving the mob's current target. Vanilla goals are not included. Returns an empty map for a mob with no such goals. |
| Generated Example | |
| Group | paper |
| Requires | Paper |
| Source | https://github.com/MINEZ/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperEntityExtensions.java#L362 |