@minecraft/server / SetItemNameFunction
Class: SetItemNameFunction ​
Defined in: @minecraft/server/index.d.ts:19781
Loot item function that modifies the name of the item dropped.
Extends ​
Properties ​
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793
Inherited from ​
name ​
readonlyname:string
Defined in: @minecraft/server/index.d.ts:19788
Remarks ​
The name to apply to the dropped item.