Class TranslationMapper

java.lang.Object
com.soulfiremc.server.adventure.TranslationMapper
All Implemented Interfaces:
Function<net.kyori.adventure.text.TranslatableComponent,String>

public final class TranslationMapper extends Object implements Function<net.kyori.adventure.text.TranslatableComponent,String>
  • Field Details

  • Constructor Details

    • TranslationMapper

      public TranslationMapper(Map<String,String> mojangTranslations)
  • Method Details

    • apply

      public String apply(net.kyori.adventure.text.TranslatableComponent component)
      Specified by:
      apply in interface Function<net.kyori.adventure.text.TranslatableComponent,String>