Effect.clear constructor
Effect.clear(
- Entity? entity, [
- EffectType? effect
You can clear an effect again.
Effect.clear(Entity.Player(),EffectType.jump_boost)
⇒ effect clear @p minecraft:jump_boost
Implementation
Effect.clear(this.entity, [this.effect]) : _type = 'clear';