Interface AttributeTooltipContext
- All Superinterfaces:
Item.TooltipContext
Extended
Item.TooltipContext used when generating attribute tooltips.-
Field Summary
Fields inherited from interface Item.TooltipContext
EMPTY -
Method Summary
Modifier and TypeMethodDescriptionflag()Returns the current tooltip flag.static AttributeTooltipContextof(@Nullable Player player, Item.TooltipContext itemCtx, TooltipDisplay tooltipDisplay, TooltipFlag flag) Returns the tooltip display.Methods inherited from interface Item.TooltipContext
isPeaceful, level, mapData, player, registries, tickRate
-
Method Details
-
tooltipDisplay
-
flag
-
of
static AttributeTooltipContext of(@Nullable Player player, Item.TooltipContext itemCtx, TooltipDisplay tooltipDisplay, TooltipFlag flag)
-