Interface AudienceProvider<C>
- Type Parameters:
C- Command sender type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface AudienceProvider<C>
extends Function<@NonNull C,@NonNull Audience>
Function that maps the command sender type to an adventure
Audience-
Method Summary
Modifier and TypeMethodDescriptionConvert a command sender to anAudiencestatic <C extends Audience>
AudienceProvider<C> Get an audience provider for sender types which are already anAudience.