IndirectEntityDamageSource

A damage source that indirectly affects an entity.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
@get:JvmName(name = "entity")
abstract val entity: Entity

The entity that caused the damage.

Link copied to clipboard
@get:JvmName(name = "indirectEntity")
abstract val indirectEntity: Entity?

The entity that indirectly caused the damage.

Link copied to clipboard
@get:JvmName(name = "type")
abstract val type: DamageType

The type of damage that has been caused by this source.