An effect type, as handed to Entity.addEffect.
Class in @minecraft/server
An effect type, as handed to Entity.addEffect.
import { EffectType } from '@minecraft/server';Properties
Section titled “Properties”read-only
readonly id: string;Methods
Section titled “Methods”getName
Section titled “getName”getName(): string;The id without its namespace, such as speed.
Returns
string