net.minecraft.client.gui.components

public class Tooltip

implements NarrationSupplier

fjx
net.minecraft.client.gui.components.Tooltip
net.minecraft.class_7919
net.minecraft.client.gui.tooltip.Tooltip
net.minecraft.src.C_256714_

Field summary

Modifier and TypeField
private static final int
a
MAX_WIDTH
field_41101
ROW_LENGTH
f_257026_
private final Component
b
message
field_41102
content
f_256850_
private List<FormattedCharSequence>
c
cachedTooltip
field_41103
lines
f_256766_
private Language
d
splitWithLanguage
field_51822
language
f_337177_
private final Component
e
narration
field_41104
narration
f_257004_

Constructor summary

ModifierConstructor
private (Component content, Component narration)

Method summary

Modifier and TypeMethod
public static Tooltip
a(wz arg0, wz arg1)
create(Component arg0, Component arg1)
method_47408(class_2561 arg0, class_2561 arg1)
of(Text content, Text narration)
m_257563_(C_4996_ p_259571_, C_4996_ p_259174_)
public static Tooltip
a(wz arg0)
create(Component arg0)
method_47407(class_2561 arg0)
of(Text content)
m_257550_(C_4996_ p_259142_)
public void
b(fmi arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
public List<FormattedCharSequence>
a(fgo arg0)
toCharSequence(Minecraft arg0)
method_47405(class_310 arg0)
getLines(MinecraftClient client)
m_257408_(C_3391_ arg0)
public static List<FormattedCharSequence>
a(fgo arg0, wz arg1)
splitTooltip(Minecraft arg0, Component arg1)
method_47406(class_310 arg0, class_2561 arg1)
wrapLines(MinecraftClient client, Text text)
m_257868_(C_3391_ p_259133_, C_4996_ p_260172_)