Uses of Interface
net.minecraft.text.StringVisitable.StyledVisitor
Packages that use StringVisitable.StyledVisitor
-
Uses of StringVisitable.StyledVisitor in net.minecraft.client.font
Methods in net.minecraft.client.font with parameters of type StringVisitable.StyledVisitorModifier and TypeMethodDescription<T> Optional<T>
TextHandler.StyledString.visit
(StringVisitable.StyledVisitor<T> styledVisitor, Style style) Supplies this visitable's literal content and contextual style to the visitor. -
Uses of StringVisitable.StyledVisitor in net.minecraft.text
Methods in net.minecraft.text with parameters of type StringVisitable.StyledVisitorModifier and TypeMethodDescription<T> Optional<T>
KeybindTextContent.visit
(StringVisitable.StyledVisitor<T> visitor, Style style) Visits this content.<T> Optional<T>
LiteralTextContent.visit
(StringVisitable.StyledVisitor<T> visitor, Style style) Visits this content.<T> Optional<T>
SelectorTextContent.visit
(StringVisitable.StyledVisitor<T> visitor, Style style) Visits this content.<T> Optional<T>
StringVisitable.visit
(StringVisitable.StyledVisitor<T> styledVisitor, Style style) Supplies this visitable's literal content and contextual style to the visitor.default <T> Optional<T>
Text.visit
(StringVisitable.StyledVisitor<T> styledVisitor, Style style) Supplies this visitable's literal content and contextual style to the visitor.default <T> Optional<T>
TextContent.visit
(StringVisitable.StyledVisitor<T> visitor, Style style) Visits this content.<T> Optional<T>
TranslatableTextContent.visit
(StringVisitable.StyledVisitor<T> visitor, Style style) Visits this content.