net.minecraft.network.chat.contents

public class KeybindContents

implements ComponentContents

sq
net.minecraft.network.chat.contents.KeybindContents
net.minecraft.class_2572
net.minecraft.text.KeybindTextContent
net.minecraft.src.C_213516_
net.minecraft.network.chat.contents.KeybindContents

Field summary

Modifier and TypeField
private final String
b
name
field_11767
key
f_237344_
private Supplier<Component>
c
nameResolver
field_11768
translated
f_237345_

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
private Component
b()
getNestedComponent()
method_27691()
getTranslated()
m_237354_()
public <T> Optional<T>
a(ru$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(ru$b<T> arg0, sj 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_237353_, C_5020_ arg1)
public String
a()
getName()
method_10901()
getKey()
m_237348_()