@minecraft/server / PotionEffectType
Class: PotionEffectType ​
Defined in: @minecraft/server/index.d.ts:18358
Represents a type of potion effect - like healing or leaping.
Properties ​
durationTicks? ​
readonlyoptionaldurationTicks?:number
Defined in: @minecraft/server/index.d.ts:18369
Remarks ​
Duration of the effect when applied to an entity in ticks. Undefined means the effect does not expire.
Throws ​
This property can throw when used.
minecraftcommon.EngineError
id ​
readonlyid:string
Defined in: @minecraft/server/index.d.ts:18370