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