net.minecraft.network.chat

public class KeybindComponent

extends BaseComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText

ox
net.minecraft.network.chat.KeybindComponent
net.minecraft.class_2572
net.minecraft.unmapped.C_ygxlvwij
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
f_mbtupaqp
translator
f_130913_
private final String
e
name
field_11767
f_jjrmclzy
key
f_130914_
private Supplier<Component>
f
nameResolver
field_11768
f_nywtvuba
translated
f_130915_

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
public static void
a(Function<String, Supplier<os>> arg0)
setKeyResolver(Function<String, Supplier<Component>> arg0)
method_27690(Function<String, Supplier<class_2561>> arg0)
m_smacfbts(Function<String, Supplier<C_rdaqiwdt>> arg0)
setTranslator(Function<String, Supplier<Text>> translator)
m_130919_(Function<String, Supplier<C_4996_>> p_130920_)
private Component
j()
getNestedComponent()
method_27691()
m_jkeumfdh()
getTranslated()
m_130936_()
public <T> Optional<T>
b(ov$a<T> arg0)
visitSelf(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
m_dlwqulci(C_xzalvetc$C_delqnnjz<T> arg0)
visitSelf(StringVisitable$Visitor<T> arg0)
m_5655_(C_5000_$C_5005_<T> arg0)
public <T> Optional<T>
b(ov$b<T> arg0, pc arg1)
visitSelf(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
m_bomynvxn(C_xzalvetc$C_rnsgpsnw<T> arg0, C_cpwnhism 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()
m_rehskgvm()
copy()
m_6879_()
public String
i()
getName()
method_10901()
m_rwkvvret()
getKey()
m_130935_()