Class MatcherInfo

java.lang.Object
com.samsthenerd.inline.api.matching.MatcherInfo

public class MatcherInfo extends Object
User-facing information about a matcher. For most cases you can just use fromId(id) and add the translations in your lang files.
  • Constructor Details

    • MatcherInfo

      public MatcherInfo(net.minecraft.text.Text rawTitle, net.minecraft.text.Text styledTitle, net.minecraft.text.Text example, net.minecraft.text.Text description)
  • Method Details

    • fromId

      public static MatcherInfo fromId(net.minecraft.util.Identifier id)
    • getTitle

      public net.minecraft.text.Text getTitle(boolean styled)
    • getExample

      public net.minecraft.text.Text getExample()
    • getDescription

      public net.minecraft.text.Text getDescription()