net.minecraft.network.chat

public class KeybindComponent

extends BaseComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText

qe
net.minecraft.network.chat.KeybindComponent
net.minecraft.class_2572
net.minecraft.text.KeybindText
net.minecraft.src.C_5011_
net.minecraft.network.chat.ChatComponentKeybind

Field summary

Modifier and TypeField
private static Function<String, Supplier<Component>>
d
keyResolver
field_11766
translator
f_130913_
private final String
e
name
field_11767
key
f_130914_
private Supplier<Component>
f
nameResolver
field_11768
translated
f_130915_

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
public static void
a(Function<String, Supplier<pz>> arg0)
setKeyResolver(Function<String, Supplier<Component>> arg0)
method_27690(Function<String, Supplier<class_2561>> arg0)
setTranslator(Function<String, Supplier<Text>> translator)
m_130919_(Function<String, Supplier<C_4996_>> p_130920_)
private Component
j()
getNestedComponent()
method_27691()
getTranslated()
m_130936_()
public <T> Optional<T>
b(qc$a<T> arg0)
visitSelf(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
visitSelf(StringVisitable$Visitor<T> arg0)
m_5655_(C_5000_$C_5005_<T> arg0)
public <T> Optional<T>
b(qc$b<T> arg0, qj arg1)
visitSelf(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
visitSelf(StringVisitable$StyledVisitor<T> arg0, Style arg1)
m_7452_(C_5000_$C_5006_<T> p_130925_, C_5020_ arg1)
public KeybindComponent
h()
plainCopy()
method_10902()
copy()
m_6879_()
public String
i()
getName()
method_10901()
getKey()
m_130935_()