Count lore lines
Count the description lines under an item's name. It gives 0 for an item with none.
A Minecraft element (a value) in Items & inventories. Needs the Basic plan or higher to go live; building and testing are free.
Example
When a player right-clicks → Item in hand → Count lore lines → If Count is 0 → Answer: Nothing special.
Also called
lore count, lore lines, how many lines
Works as a data pack?
No. This one needs the Elementium plugin on a Paper server.
What you give it
- Item
What it gives back
- Count