Loot item function that modifies the name of the item dropped.
export class SetItemNameFunction extends LootItemFunction { private constructor(); readonly name: string;} Copy
export class SetItemNameFunction extends LootItemFunction { private constructor(); readonly name: string;}
Private
Readonly
The name to apply to the dropped item.
This property can't be read in early-execution mode.
Loot item function that modifies the name of the item dropped.
Source