Class PlaceholderAPIHook
java.lang.Object
com.guflimc.brick.placeholders.spigot.api.hooks.PlaceholderPluginHook
com.guflimc.brick.placeholders.spigot.api.hooks.placeholderapi.PlaceholderAPIHook
- All Implemented Interfaces:
PlaceholderResolver<org.bukkit.entity.Player>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(@NotNull PlaceholderModule<org.bukkit.entity.Player> module) net.kyori.adventure.text.Component
resolve
(@NotNull String placeholder, @NotNull PlaceholderResolveContext<org.bukkit.entity.Player> context) void
unregister
(@NotNull PlaceholderModule<org.bukkit.entity.Player> module)
-
Constructor Details
-
PlaceholderAPIHook
public PlaceholderAPIHook(org.bukkit.plugin.java.JavaPlugin plugin)
-
-
Method Details
-
resolve
public net.kyori.adventure.text.Component resolve(@NotNull @NotNull String placeholder, @NotNull @NotNull PlaceholderResolveContext<org.bukkit.entity.Player> context) -
register
- Specified by:
register
in classPlaceholderPluginHook
-
unregister
- Specified by:
unregister
in classPlaceholderPluginHook
-