The LootItem class in @minecraft/server.
Class in @minecraft/server
Extends LootPoolEntry
import { LootItem } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”conditions
Section titled “conditions”read-only
readonly conditions: LootItemCondition[];Types
functions
Section titled “functions”read-only
readonly functions: LootItemFunction[];Types
read-only optional
readonly name?: ItemType;Types
Inherited
Section titled “Inherited”From LootPoolEntry: quality, subTable, weight