Skip to content

@minecraft/server


@minecraft/server / SetItemLoreFunction

Class: SetItemLoreFunction ​

Defined in: @minecraft/server/index.d.ts:19766

Loot item function that modifies the lore of the item dropped.

Extends ​

Properties ​

conditions ​

readonly conditions: LootItemCondition[]

Defined in: @minecraft/server/index.d.ts:15793

Inherited from ​

LootItemFunction.conditions


lore ​

readonly lore: string[]

Defined in: @minecraft/server/index.d.ts:19773

Remarks ​

The lore to apply to the dropped item.