Class Audiences


  • public final class Audiences
    extends java.lang.Object
    Audience-related utilities.
    Since:
    4.13.0
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static @NotNull java.util.function.Consumer<? super Audience> sendingMessage​(@NotNull ComponentLike message)
      Creates an action to send a message.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sendingMessage

        @NotNull
        public static @NotNull java.util.function.Consumer<? super Audience> sendingMessage​(@NotNull
                                                                                            @NotNull ComponentLike message)
        Creates an action to send a message.
        Parameters:
        message - the message to send
        Returns:
        an action to send a message
        Since:
        4.13.0