AreaEffectCloud.persistent constructor
AreaEffectCloud.persistent(})
To keep the entity alive there is AreaEffectCloud.persistent
that sets the age to multiple years.
Implementation
AreaEffectCloud.persistent(
Location location, {
TextComponent? name,
Map<String, dynamic>? nbt,
List<String>? tags,
this.radius,
this.applicationDelay,
}) : duration = -1,
waitTime = inf,
super(
Entities.area_effect_cloud,
location: location,
name: name,
nbt: nbt,
age: inf,
tags: tags,
);