public interface WeatherEffect extends Entity
Lightning
.Modifier and Type | Method and Description |
---|---|
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.
|
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getUniqueId
setRawData, validateRawData
toContainer
getApplicableProperties, getProperty
boolean isEffect()
void setEffect(boolean effect)
effect
- Whether this weather effect is an effectdefault ExpirableData getExpiringData()
ExpirableData
for this weather entity.