T - the subject type. Is ALWAYS the player class of the platform.@FunctionalInterface public interface ContextCalculator<T>
subject.| Modifier and Type | Method and Description |
|---|---|
@NonNull MutableContextSet |
giveApplicableContext(T subject,
@NonNull MutableContextSet accumulator)
Gives the subject all of the applicable contexts they meet
|
@NonNull MutableContextSet giveApplicableContext(T subject, @NonNull MutableContextSet accumulator)
subject - the subject to add contexts toaccumulator - a map of contexts to add to