@minecraft/server / SetPotionFunction
Class: SetPotionFunction ​
Defined in: @minecraft/server/index.d.ts:19812
Loot item function that assigns a type to a dropped potion.
Extends ​
Properties ​
conditions ​
readonlyconditions:LootItemCondition[]
Defined in: @minecraft/server/index.d.ts:15793
Inherited from ​
id ​
readonlyid:string
Defined in: @minecraft/server/index.d.ts:19819
Remarks ​
The id to be assigned to the dropped potion.