net.minecraft.client.gui.components

public class Tooltip

implements NarrationSupplier

fqf
net.minecraft.client.gui.components.Tooltip
net.minecraft.class_7919
net.minecraft.client.gui.tooltip.Tooltip

Field summary

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

Constructor summary

ModifierConstructor
private (Component content, Component narration)

Method summary

Modifier and TypeMethod
public static Tooltip
a(wp arg0, wp arg1)
create(Component arg0, Component arg1)
method_47408(class_2561 arg0, class_2561 arg1)
of(Text content, Text narration)
public static Tooltip
a(wp arg0)
create(Component arg0)
method_47407(class_2561 arg0)
of(Text content)
public void
b(fsr arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
public List<FormattedCharSequence>
a(flk arg0)
toCharSequence(Minecraft arg0)
method_47405(class_310 arg0)
getLines(MinecraftClient client)
public static List<FormattedCharSequence>
a(flk arg0, wp arg1)
splitTooltip(Minecraft arg0, Component arg1)
method_47406(class_310 arg0, class_2561 arg1)
wrapLines(MinecraftClient client, Text text)