net.minecraft.client.gui.components

public class Tooltip

implements NarrationSupplier

eyr
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 final Component
d
narration
field_41104
narration
f_257004_
private int
e
msDelay
field_46719
delay
f_302230_
private long
f
hoverOrFocusedStartTime
field_46720
renderCheckTime
f_302871_
private boolean
g
wasHoveredOrFocused
field_46721
prevShouldRender
f_303319_

Constructor summary

ModifierConstructor
private (Component content, Component narration)

Method summary

Modifier and TypeMethod
public void
a(int arg0)
setDelay(int arg0)
method_54383(int arg0)
setDelay(int delay)
m_304875_(int arg0)
public static Tooltip
a(vf arg0, vf 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(vf arg0)
create(Component arg0)
method_47407(class_2561 arg0)
of(Text content)
m_257550_(C_4996_ p_259142_)
public void
b(faz arg0)
updateNarration(NarrationElementOutput arg0)
method_37020(class_6382 arg0)
appendNarrations(NarrationMessageBuilder arg0)
m_142291_(C_141608_ arg0)
public List<FormattedCharSequence>
a(evi arg0)
toCharSequence(Minecraft arg0)
method_47405(class_310 arg0)
getLines(MinecraftClient client)
m_257408_(C_3391_ arg0)
public static List<FormattedCharSequence>
a(evi arg0, vf 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_)
public void
a(boolean arg0, boolean arg1, fbj arg2)
refreshTooltipForNextRenderPass(boolean arg0, boolean arg1, ScreenRectangle arg2)
method_54384(boolean arg0, boolean arg1, class_8030 arg2)
render(boolean hovered, boolean focused, ScreenRect focus)
m_305623_(boolean p_312586_, boolean p_311212_, C_263595_ arg2)
protected ClientTooltipPositioner
b(boolean arg0, boolean arg1, fbj arg2)
createTooltipPositioner(boolean arg0, boolean arg1, ScreenRectangle arg2)
method_54385(boolean arg0, boolean arg1, class_8030 arg2)
createPositioner(boolean hovered, boolean focused, ScreenRect focus)
m_307961_(boolean p_310032_, boolean p_312185_, C_263595_ arg2)