Interface PlaceholderProvider

All Known Implementing Classes:
LazyPlaceholderProvider, MessagePlaceholderProvider, PlaceholderContextBuilder
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 PlaceholderProvider
A class that provides values for text placeholders. Mostly used in messages shown to players or console.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final PlaceholderProvider
    Returns null for all placeholders.
  • Method Summary

    Modifier and Type
    Method
    Description
     
  • Field Details

  • Method Details

    • providePlaceholder

      Object providePlaceholder(String placeholder)