Loot item function that randomly enchants the dropped item.
export class EnchantRandomlyFunction extends LootItemFunction { private constructor(); readonly treasure: boolean;} Copy
export class EnchantRandomlyFunction extends LootItemFunction { private constructor(); readonly treasure: boolean;}
Private
Readonly
Determines whether or not treasure enchantments are included in the randomly chosen enchantments.
This property can't be read in early-execution mode.
Loot item function that randomly enchants the dropped item.
Source