Package com.samsthenerd.inline.tooltips
Interface CustomTooltipManager.CustomTooltipProvider<T>
- All Known Implementing Classes:
EntityTTProvider
,ModDataTTProvider
- Enclosing class:
CustomTooltipManager
public static interface CustomTooltipManager.CustomTooltipProvider<T>
Makes a tooltip out of some arbitrary data of type T.
Delegating between providers is handled by the manager.
-
Method Summary
Modifier and TypeMethodDescription@NotNull com.mojang.serialization.Codec
<T> getCodec()
net.minecraft.util.Identifier
getId()
@NotNull Optional
<net.minecraft.item.tooltip.TooltipData> getTooltipData
(T content) @NotNull List
<net.minecraft.text.Text> getTooltipText
(T content)
-
Method Details
-
getId
net.minecraft.util.Identifier getId() -
getTooltipText
-
getTooltipData
-
getCodec
-