public interface AreaEffectCloud extends Entity
PotionEffect
s to
Entity
instances within it's bounding box.Modifier and Type | Method and Description |
---|---|
default MutableBoundedValue<Integer> |
age()
Gets the bounded
age value of this cloud. |
default MutableBoundedValue<Integer> |
applicationDelay()
Gets the bounded
applicationDelay value of this cloud. |
default Value<Color> |
color()
Gets the
Color of this cloud, can be changed. |
default MutableBoundedValue<Integer> |
duration()
Gets the bounded
duration value of this cloud. |
default MutableBoundedValue<Integer> |
durationOnUse()
Gets the bounded
durationOnUse value of this cloud. |
default ListValue<PotionEffect> |
effects()
Gets the
ListValue of PotionEffect s of this cloud. |
default AreaEffectCloudData |
getAreaEffectCloudData()
Gets the
AreaEffectCloudData for this cloud. |
default Value<ParticleType> |
particleType()
Gets the
ParticleType of this cloud. |
default MutableBoundedValue<Double> |
radius()
Gets the
radius value of this cloud. |
default MutableBoundedValue<Double> |
radiusOnUse()
Gets the bounded
radiusOnUse value of this cloud. |
default MutableBoundedValue<Double> |
radiusPerTick()
Gets the bounded
radiusPerTick value of this cloud. |
default MutableBoundedValue<Integer> |
waitTime()
Gets the bounded
waitTime value of this cloud. |
addPassenger, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, isLoaded, isOnGround, isRemoved, remove, removePassenger, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorld
getUniqueId
getLocation, getWorld
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getTranslation
default AreaEffectCloudData getAreaEffectCloudData()
AreaEffectCloudData
for this cloud.default Value<Color> color()
Color
of this cloud, can be changed.default MutableBoundedValue<Double> radius()
radius
value of this cloud.default Value<ParticleType> particleType()
ParticleType
of this cloud.default MutableBoundedValue<Integer> duration()
duration
value of this cloud.default MutableBoundedValue<Integer> waitTime()
waitTime
value of this cloud. The wait time
dictates how long until this cloud will affect Entity
instances
with PotionEffect
s.default MutableBoundedValue<Double> radiusOnUse()
radiusOnUse
value of this cloud. The radius is
reduced per Entity
affected. Once the radius is 0
, the
cloud dissipates.default MutableBoundedValue<Double> radiusPerTick()
radiusPerTick
value of this cloud. The radius is
reduced per tick (so technically can be set to 0
to have it
remain permanent until it's effects have been used up.default MutableBoundedValue<Integer> durationOnUse()
durationOnUse
value of this cloud. The duration
on use is reduced for every time that this cloud applies its
PotionEffect
s on an Entity
.default MutableBoundedValue<Integer> applicationDelay()
applicationDelay
value of this cloud. What this
means is the application delay between times of application on an
Entity
.default 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.default MutableBoundedValue<Integer> age()
age
value of this cloud.