block that damaged the victim entity as a BlockState object, or null if the victim entity was not attacked by a block
numeric ID of the damage cause
attacker entity's numeric type
attacker entity's unique ID
victim entity's numeric type
victim entity's unique ID
pointer to the native object wrapped by the following native interface object, represented by a signed 64-bit integer
whether the victim entity was damaged by a specific block in the world, for example, magma or cactus
whether the victim entity was damaged by an entity that had come from another entity, for example, an arrow or another projectile from a player
whether the attacker entity is in creative mode
whether the attacker entity can place and break blocks in the world
whether the victim entity is in creative mode
whether the victim entity was damaged by another entity
whether the victim entity can place and break blocks in the world
Sets numeric ID of the damage cause
Generated using TypeDoc
Wrapper for the native
ActorDamageSource
class to get access to the circumstances of an entity damage event.3.0