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