public interface AreaEffectCloudData extends DataManipulator<AreaEffectCloudData,ImmutableAreaEffectCloudData>
Modifier and Type | Method and Description |
---|---|
MutableBoundedValue<Integer> |
age()
Gets the bounded
age value of this cloud. |
MutableBoundedValue<Integer> |
applicationDelay()
Gets the bounded
applicationDelay value of this cloud. |
Value<Color> |
color()
Gets the
Color of this cloud, can be changed. |
MutableBoundedValue<Integer> |
duration()
Gets the bounded
duration value of this cloud. |
MutableBoundedValue<Integer> |
durationOnUse()
Gets the bounded
durationOnUse value of this cloud. |
ListValue<PotionEffect> |
effects()
Gets the
ListValue of PotionEffect s of this cloud. |
Value<ParticleType> |
particleType()
Gets the
ParticleType of this cloud. |
MutableBoundedValue<Double> |
radius()
Gets the
radius value of this cloud. |
MutableBoundedValue<Double> |
radiusOnUse()
Gets the bounded
radiusOnUse value of this cloud. |
MutableBoundedValue<Double> |
radiusPerTick()
Gets the bounded
radiusPerTick value of this cloud. |
MutableBoundedValue<Integer> |
waitTime()
Gets the bounded
waitTime value of this cloud. |
asImmutable, copy, fill, fill, from, set, set, set, set, transform
getContentVersion, toContainer
Value<Color> color()
Color
of this cloud, can be changed.Keys.AREA_EFFECT_CLOUD_COLOR
MutableBoundedValue<Double> radius()
radius
value of this cloud.Keys.AREA_EFFECT_CLOUD_RADIUS
Value<ParticleType> particleType()
ParticleType
of this cloud.Keys.AREA_EFFECT_CLOUD_PARTICLE_TYPE
MutableBoundedValue<Integer> duration()
duration
value of this cloud.Keys.AREA_EFFECT_CLOUD_DURATION
MutableBoundedValue<Integer> waitTime()
waitTime
value of this cloud. The wait time
dictates how long until this cloud will affect Entity
instances
with PotionEffect
s.Keys.AREA_EFFECT_CLOUD_WAIT_TIME
MutableBoundedValue<Double> radiusOnUse()
radiusOnUse
value of this cloud.
The radius is modified per Entity
affected.
Once the radius is 0
, the cloud dissipates.
A positive radiusOnUse value will make the cloud grow, a negative one will make it shrink.
Keys.AREA_EFFECT_CLOUD_RADIUS_ON_USE
MutableBoundedValue<Double> radiusPerTick()
radiusPerTick
value of this cloud.
The radius is increased every tick. A radiusPerTick of 0 will cause the cloud to stay at its original size until its duration runs out, a positive number will make it grow, and a negative number will make it shrink whenever it applies its effect.
Keys.AREA_EFFECT_CLOUD_RADIUS_PER_TICK
MutableBoundedValue<Integer> durationOnUse()
durationOnUse
value of this cloud.
The duration on use is added to the duration for every time
that this cloud applies it's PotionEffect
s on an
Entity
.
If the duration on use is negative, every application of an effect to an entity will decrease the cloud's duration
Keys.AREA_EFFECT_CLOUD_DURATION_ON_USE
MutableBoundedValue<Integer> applicationDelay()
applicationDelay
value of this cloud.
What this means is the application delay between times of application
on an Entity
.Keys.AREA_EFFECT_CLOUD_REAPPLICATION_DELAY
ListValue<PotionEffect> effects()
ListValue
of PotionEffect
s of this cloud.
The potion effects will affect any Entity
according to the
various delays and ticks remaining of this cloud.Keys.POTION_EFFECTS
MutableBoundedValue<Integer> age()
age
value of this cloud.Keys.AREA_EFFECT_CLOUD_AGE