Interface PatternPlaceholderFunction

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 PatternPlaceholderFunction
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(OfflinePlayer player, String identifier, String[] args)
    Applies the pattern placeholder function to the given arguments.
  • Method Details

    • apply

      String apply(OfflinePlayer player, String identifier, String[] args)
      Applies the pattern placeholder function to the given arguments.
      Parameters:
      player - The offline player for whom the placeholder is being applied
      identifier - The identifier of the placeholder
      args - The arguments provided to the placeholder
      Returns:
      The result of the placeholder function