For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/classes/SpecificEnchantFunction.md.

Class: SpecificEnchantFunction

Beta

为掉落物品应用一个或多个预定义附魔的战利品物品函数。

Loot item function that applies one or several predefined enchants to the dropped item.

Extends

Properties

conditions

readonly conditions: LootItemCondition[]

Beta

Inherited from

LootItemFunction.conditions


enchantments

readonly enchantments: EnchantInfo[]

Beta