Uses of Interface
io.papermc.paper.inventory.tooltip.TooltipContext
Package
Description
The root package of the Bukkit API, contains generalized API classes.
Classes involved in manipulating player inventories and item interactions.
-
Uses of TooltipContext in io.papermc.paper.inventory.tooltip
Modifier and TypeMethodDescriptionTooltipContext.asAdvanced()
Returns a new context withisAdvanced()
set to true.TooltipContext.asCreative()
Returns a new context withisCreative()
set to true.static TooltipContext
TooltipContext.create()
Creates a new context that is neither advanced nor creative.static TooltipContext
TooltipContext.create
(boolean advanced, boolean creative) Creates a new context with the given advanced and creative mode settings. -
Uses of TooltipContext in org.bukkit
Modifier and TypeMethodDescriptionUnsafeValues.computeTooltipLines
(@NotNull ItemStack itemStack, TooltipContext tooltipContext, Player player) Deprecated. -
Uses of TooltipContext in org.bukkit.inventory
Modifier and TypeMethodDescriptionItemStack.computeTooltipLines
(TooltipContext tooltipContext, Player player) Computes the tooltip lines for this stack.