net.minecraft.client.gui.components

public class Tooltip

implements NarrationSupplier

eua
net.minecraft.client.gui.components.Tooltip
net.minecraft.class_7919
net.minecraft.unmapped.C_skehaijy
net.minecraft.client.gui.tooltip.Tooltip
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
f_uhvqnftx
ROW_LENGTH
MAX_WIDTH
f_257026_
private final Component
b
message
field_41102
f_qjyptnlr
content
message
f_256850_
private List<FormattedCharSequence>
c
cachedTooltip
field_41103
f_juqefhoo
lines
cachedTooltip
f_256766_
private final Component
d
narration
field_41104
f_ycavopdm
narration
narration
f_257004_

Constructor summary

ModifierConstructor
private (Component content, Component narration)

Method summary

Modifier and TypeMethod
public static Tooltip
a(tl arg0, tl arg1)
create(Component arg0, Component arg1)
method_47408(class_2561 arg0, class_2561 arg1)
m_exgsugxs(C_rdaqiwdt arg0, C_rdaqiwdt arg1)
of(Text content, Text narration)
create(Text message, Text narration)
m_257563_(C_4996_ p_259571_, C_4996_ p_259174_)
public static Tooltip
a(tl arg0)
create(Component arg0)
method_47407(class_2561 arg0)
m_yqziwvxc(C_rdaqiwdt arg0)
of(Text content)
create(Text message)
m_257550_(C_4996_ p_259142_)
public void
b(ewi arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
m_ubiaqpjr(C_pofrkllk arg0)
appendNarrations(NarrationMessageBuilder arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
public List<FormattedCharSequence>
a(eqv arg0)
toCharSequence(Minecraft arg0)
method_47405(class_310 arg0)
m_zfbjttod(C_ayfeobid arg0)
getLines(MinecraftClient client)
wrap(MinecraftClient client)
m_257408_(C_3391_ arg0)
public static List<FormattedCharSequence>
a(eqv arg0, tl arg1)
splitTooltip(Minecraft arg0, Component arg1)
method_47406(class_310 arg0, class_2561 arg1)
m_rbdfkfsq(C_ayfeobid arg0, C_rdaqiwdt arg1)
wrapLines(MinecraftClient client, Text text)
wrapTooltipText(MinecraftClient client, Text message)
m_257868_(C_3391_ p_259133_, C_4996_ p_260172_)