mirror of
https://github.com/Minestom/Minestom.git
synced 2024-09-28 14:37:31 +02:00
Added javadoc for GoalSelectorsArrayList
This commit is contained in:
parent
e1e546d9fa
commit
4be54651c6
@ -95,6 +95,12 @@ public class EntityAIGroup {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* The purpose of this list is to guarantee that every {@link GoalSelector} added to that group
|
||||
* has a reference to it for some internal interactions. We don't provide developers with
|
||||
* methods like `addGoalSelector` or `removeGoalSelector`: instead we provide them with direct
|
||||
* access to list of goal selectors, so that they could use operations such as `clear`, `set`, `removeIf`, etc.
|
||||
*/
|
||||
private class GoalSelectorsArrayList extends ArrayList<GoalSelector> {
|
||||
|
||||
private GoalSelectorsArrayList() {
|
||||
|
Loading…
Reference in New Issue
Block a user