Class Tooltip
java.lang.Object
net.minecraft.client.gui.components.Tooltip
- All Implemented Interfaces:
NarrationSupplier
-
Field Summary
Modifier and TypeFieldDescriptionprivate List
<FormattedCharSequence> private static final int
private final Component
private final Component
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Tooltip
static Tooltip
static List
<FormattedCharSequence> splitTooltip
(Minecraft p_259133_, Component p_260172_) toCharSequence
(Minecraft p_260243_) void
updateNarration
(NarrationElementOutput p_260330_)
-
Field Details
-
MAX_WIDTH
private static final int MAX_WIDTH- See Also:
-
message
-
cachedTooltip
-
narration
-
-
Constructor Details
-
Tooltip
-
-
Method Details
-
create
-
create
-
updateNarration
- Specified by:
updateNarration
in interfaceNarrationSupplier
-
toCharSequence
-
splitTooltip
-