Represents a type of potion effect - like healing or leaping.

Constructors

Properties

Constructors

Properties

durationTicks?: number

Duration of the effect when applied to an entity in ticks. Undefined means the effect does not expire.

This property can throw when used.

minecraftcommon.EngineError

id: string