The SetItemLoreFunction class in @minecraft/server.
Class in @minecraft/server
Extends LootItemFunction
import { SetItemLoreFunction } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”read-only
readonly lore: string[];Inherited
Section titled “Inherited”From LootItemFunction: conditions