Appearance
helix / LootFunctionSpec
Type Alias: LootFunctionSpec โ
LootFunctionSpec = {
args:object;id: keyofLootFunctionArgs;kind:"vanilla"; } | {json:Record<string,unknown>;kind:"raw"; } | {entity:LootEntity;kind:"set_lore";lines:LoreLine[]; } | {kind:"enchant_with_levels";levels:NumberProvider;treasure:boolean; }
Defined in: core/values/loot-function.ts:21
A loot function's input: a vanilla function's typed arguments, or one of the shortcuts below.