Package me.deecaad.core.placeholder
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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable StringonRequest(@NotNull PlaceholderData data) Returns the value for this placeholder, given thedata.requestValue(@NotNull PlaceholderData data) Methods inherited from class me.deecaad.core.placeholder.PlaceholderHandler
equals, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.Keyed
getKey, key
-
Constructor Details
-
ListPlaceholderHandler
public ListPlaceholderHandler()
-
-
Method Details
-
onRequest
Description copied from class:PlaceholderHandlerReturns the value for this placeholder, given thedata.- Specified by:
onRequestin classPlaceholderHandler- 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)
-