Class PlaceholderModuleManager<E>

java.lang.Object
com.guflimc.brick.placeholders.api.module.PlaceholderModuleResolver<E>
com.guflimc.brick.placeholders.api.manager.PlaceholderModuleManager<E>
All Implemented Interfaces:
PlaceholderManager<E>, PlaceholderResolver<E>

public class PlaceholderModuleManager<E> extends PlaceholderModuleResolver<E> implements PlaceholderManager<E>
  • Constructor Details

    • PlaceholderModuleManager

      public PlaceholderModuleManager()
  • Method Details

    • registerOperators

      public void registerOperators()
    • replace

      public net.kyori.adventure.text.Component replace(@NotNull @NotNull String text, @NotNull @NotNull PlaceholderResolveContext<E> context)
      Description copied from interface: PlaceholderManager
      Replace placeholders.
      Specified by:
      replace in interface PlaceholderManager<E>
      Parameters:
      text - to replace placeholders in
      Returns:
      the component with placeholders replaced
    • replace

      public net.kyori.adventure.text.Component replace(@NotNull @NotNull net.kyori.adventure.text.Component component, @NotNull @NotNull PlaceholderResolveContext<E> context)
      Description copied from interface: PlaceholderManager
      Replace placeholders.
      Specified by:
      replace in interface PlaceholderManager<E>
      Parameters:
      component - to replace placeholders in
      Returns:
      the component with placeholders replaced