Class ListPlaceholderHandler

java.lang.Object
me.deecaad.core.placeholder.PlaceholderHandler
me.deecaad.core.placeholder.ListPlaceholderHandler
All Implemented Interfaces:
net.kyori.adventure.key.Keyed, org.bukkit.Keyed

public abstract class ListPlaceholderHandler extends PlaceholderHandler
  • Constructor Details

    • ListPlaceholderHandler

      public ListPlaceholderHandler()
  • Method Details

    • onRequest

      @Nullable public @Nullable String onRequest(@NotNull @NotNull PlaceholderData data)
      Description copied from class: PlaceholderHandler
      Returns the value for this placeholder, given the data.
      Specified by:
      onRequest in class PlaceholderHandler
      Parameters:
      data - The data used to generate placeholders from
      Returns:
      the result for placeholder or null
    • requestValue

      @Nullable public abstract @Nullable List<String> requestValue(@NotNull @NotNull PlaceholderData data)