TextComponent - Tooltip Lines (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 3.8.0

Syntax

[advanced] [[and] creative] [computed] tool[ ]tip lines of %itemstack/itemtype/slot% [for %-player%]

Description

Computes the tooltip lines of an item and returns as a list of text components. **Disclaimer**: Tooltip contents are not guaranteed to be consistent across different Minecraft versions. `advanced` = Whether the context is for advanced tooltips. `creative` = Whether the context is for the creative inventory. `for player` = Creates player specific tooltips.

Examples

set {_lines::*} to advanced tooltip lines of player's tool
set {_lines::*} to creative tooltip lines of player's tool
set {_lines::*} to advanced and creative tooltip lines of player's tool
set {_lines::*} to advanced tooltip lines of 1 of diamond sword for player

View source