接口 AttributeTooltipContext

所有超级接口:
Item.TooltipContext

public interface AttributeTooltipContext extends Item.TooltipContext
Extended Item.TooltipContext used when generating attribute tooltips.
  • 方法详细资料

    • player

      @Nullable @Nullable Player player()
      返回 the player for whom tooltips are being generated for, if known。
      返回:
      the player for whom tooltips are being generated for, if known
    • tooltipDisplay

      TooltipDisplay tooltipDisplay()
      返回 the tooltip display。
      返回:
      the tooltip display
    • flag

      TooltipFlag flag()
      返回 the current tooltip flag。
      返回:
      the current tooltip flag
    • of

      static AttributeTooltipContext of(@Nullable @Nullable Player player, Item.TooltipContext itemCtx, TooltipDisplay tooltipDisplay, TooltipFlag flag)