net.minecraft.network.chat.contents

public class KeybindContents

implements ComponentContents

yd
net.minecraft.network.chat.contents.KeybindContents
net.minecraft.class_2572
net.minecraft.unmapped.C_scqpkchq
net.minecraft.text.KeybindTextContent
net.minecraft.text.component.KeyBindComponent
net.minecraft.src.C_213516_
net.minecraft.network.chat.contents.KeybindContents

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<KeybindContents>
a
CODEC
field_46619
f_fbdqazsa
CODEC
CODEC
f_303682_
public static final ComponentContents$Type<KeybindContents>
b
TYPE
field_46620
f_lqxhjber
TYPE
TYPE
f_302328_
private final String
c
name
field_11767
f_voavntrz
key
key
f_237344_
private Supplier<Component>
d
nameResolver
field_11768
f_lcgfpmfj
translated
text
f_237345_

Constructor summary

ModifierConstructor
public (String key)

Method summary

Modifier and TypeMethod
private Component
c()
getNestedComponent()
method_27691()
m_anffmglr()
getTranslated()
toText()
m_237354_()
public <T> Optional<T>
a(xe$a<T> arg0)
visit(FormattedText$ContentConsumer<T> arg0)
method_27659(class_5348$class_5245<T> arg0)
m_byogystu(C_xzalvetc$C_delqnnjz<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
visit(StringVisitable$Visitor<T> arg0)
m_213874_(C_5000_$C_5005_<T> arg0)
public <T> Optional<T>
a(xe$b<T> arg0, xw arg1)
visit(FormattedText$StyledContentConsumer<T> arg0, Style arg1)
method_27660(class_5348$class_5246<T> arg0, class_2583 arg1)
m_pikjboje(C_xzalvetc$C_rnsgpsnw<T> arg0, C_cpwnhism arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
visit(StringVisitable$StyledVisitor<T> arg0, Style arg1)
m_213724_(C_5000_$C_5006_<T> p_237353_, C_5020_ arg1)
public String
b()
getName()
method_10901()
m_dkesuker()
getKey()
getKey()
m_237348_()
public ComponentContents$Type<?>
a()
type()
method_54163()
m_utpteufh()
getType()
type()
m_304650_()