Class PlaceholderReplacer

java.lang.Object
ua.mcchickenstudio.opencreative.indev.messages.PlaceholderReplacer

public class PlaceholderReplacer extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull net.kyori.adventure.text.Component
    apply(@NotNull net.kyori.adventure.text.Component input)
     
    @NotNull net.kyori.adventure.text.Component
    applyPlayer(@NotNull net.kyori.adventure.text.Component input, @NotNull org.bukkit.OfflinePlayer player)
     
    @NotNull net.kyori.adventure.text.TextReplacementConfig
    get()
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PlaceholderReplacer

      public PlaceholderReplacer(Object... objects)
  • Method Details

    • get

      @NotNull public @NotNull net.kyori.adventure.text.TextReplacementConfig get()
    • apply

      @NotNull public @NotNull net.kyori.adventure.text.Component apply(@NotNull @NotNull net.kyori.adventure.text.Component input)
    • applyPlayer

      @NotNull public @NotNull net.kyori.adventure.text.Component applyPlayer(@NotNull @NotNull net.kyori.adventure.text.Component input, @NotNull @NotNull org.bukkit.OfflinePlayer player)