Skip to content

@minecraft/server


@minecraft/server / EffectType

Class: EffectType ​

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

Represents a type of effect - like poison - that can be applied to an entity.

Methods ​

getName() ​

getName(): string

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

Returns ​

string

Identifier of the effect type.

Remarks ​

Identifier name of this effect type.