net.minecraft.network.chat.contents

public record LiteralContents

implements ComponentContents

se
net.minecraft.network.chat.contents.LiteralContents
net.minecraft.class_2585
net.minecraft.text.LiteralTextContent
net.minecraft.src.C_213518_
net.minecraft.network.chat.contents.LiteralContents

Field summary

Modifier and TypeField
private final String
b
text
comp_737
string
f_237368_

Constructor summary

ModifierConstructor
public (String string)

Method summary

Modifier and TypeMethod
public <T> Optional<T>
a(rp$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
m_213874_(C_5005_<T> arg0)
public <T> Optional<T>
a(rp$b<T> arg0, rv arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
m_213724_(C_5006_<T> p_237376_, C_5020_ arg1)
public String
a()
text()
comp_737()
string()
f_237368_()