Skip to content

@minecraft/server


@minecraft/server / SetArmorTrimFunction

Class: SetArmorTrimFunction ​

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

Loot item function that modifies the trim on a dropped armor item.

Extends ​

Properties ​

conditions ​

readonly conditions: LootItemCondition[]

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

Inherited from ​

LootItemFunction.conditions


material ​

readonly material: string

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

Remarks ​

The material to apply to the armor trim.


pattern ​

readonly pattern: string

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

Remarks ​

The pattern to apply to the armor trim.