net.minecraft.network.chat

public class KeybindComponent

extends BaseComponent

All mapped superinterfaces:

MutableComponent, Component, FormattedText

nw
net.minecraft.network.chat.KeybindComponent
net.minecraft.class_2572
net.minecraft.unmapped.C_ygxlvwij
net.minecraft.text.KeybindText
net.minecraft.util.text.KeybindTextComponent
net.minecraft.server.v1_16_R3.ChatComponentKeybind

Field summary

Modifier and TypeField
private static Function<String, Supplier<Component>>
d
keyResolver
field_11766
f_mbtupaqp
translator
field_193637_b
private final String
e
name
field_11767
f_jjrmclzy
key
field_193638_c
private Supplier<Component>
f
nameResolver
field_11768
f_nywtvuba
translated
field_193639_d

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
private Component
j()
getNestedComponent()
method_27691()
m_jkeumfdh()
getTranslated()
func_240698_i_()
public <T> Optional<T>
b(nu$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)
func_230533_b_(ITextProperties$ITextAcceptor<T> arg0)
public KeybindComponent
h()
plainCopy()
method_10902()
m_rehskgvm()
copy()
func_230531_f_()
public String
i()
getName()
method_10901()
m_rwkvvret()
getKey()
func_193633_h()
public static void
a(Function<String, Supplier<nr>> 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)
func_240696_a_(Function<String, Supplier<ITextComponent>> arg0)
public <T> Optional<T>
b(nu$b<T> arg0, ob 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)
func_230534_b_(ITextProperties$IStyledTextAcceptor<T> arg0, Style arg1)