public interface WeatherEffect extends Entity
Lightning
.Modifier and Type | Method and Description |
---|---|
default MutableBoundedValue<Integer> |
expireTicks()
Gets the
MutableBoundedValue for the amount of "ticks" remaining
before the "expiration" occurs. |
default ExpirableData |
getExpiringData()
Gets a copy of the
ExpirableData for this weather entity. |
boolean |
isEffect()
Returns whether this weather effect is an effect and doesn't deal damage.
|
void |
setEffect(boolean effect)
Sets whether this weather effect is an effect and doesn't deal damage.
|
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
boolean isEffect()
void setEffect(boolean effect)
effect
- Whether this weather effect is an effectdefault ExpirableData getExpiringData()
ExpirableData
for this weather entity.default MutableBoundedValue<Integer> expireTicks()
MutableBoundedValue
for the amount of "ticks" remaining
before the "expiration" occurs.