net.minecraft.client.gui.components

public class Tooltip

implements NarrationSupplier

eyr
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_
private int
e
msDelay
field_46719
f_kdbpoxpc
delay
f_302230_
private long
f
hoverOrFocusedStartTime
field_46720
f_rdogybir
renderCheckTime
f_302871_
private boolean
g
wasHoveredOrFocused
field_46721
f_cegoszct
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)
m_lxztmfpq(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)
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(vf 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(faz 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(evi 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(evi arg0, vf 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_)
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)
m_momghkqa(boolean arg0, boolean arg1, C_erwldarl 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)
m_hgwzsxbu(boolean arg0, boolean arg1, C_erwldarl arg2)
createPositioner(boolean hovered, boolean focused, ScreenRect focus)
m_307961_(boolean p_310032_, boolean p_312185_, C_263595_ arg2)