Interface PlaceholderFunction

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

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

    • apply

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