Class MatcherInfo
java.lang.Object
com.samsthenerd.inline.api.matching.MatcherInfo
User-facing information about a matcher. For most cases you can just use
fromId(id)
and add the translations in your lang files.-
Constructor Summary
ConstructorsConstructorDescriptionMatcherInfo
(net.minecraft.text.Text rawTitle, net.minecraft.text.Text styledTitle, net.minecraft.text.Text example, net.minecraft.text.Text description) -
Method Summary
Modifier and TypeMethodDescriptionstatic MatcherInfo
fromId
(net.minecraft.util.Identifier id) net.minecraft.text.Text
net.minecraft.text.Text
net.minecraft.text.Text
getTitle
(boolean styled)
-
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
-
getTitle
public net.minecraft.text.Text getTitle(boolean styled) -
getExample
public net.minecraft.text.Text getExample() -
getDescription
public net.minecraft.text.Text getDescription()
-