plusAssign
Deals the amount of damage to the player when the given trigger is activated.
Receiver
The trigger to activate the damage.
Parameters
value
The amount of damage to deal.
Calls this lambda when a damage event with the cause is called.
Parameters
lambda
Adds this amount of damage to the player when the player's damage cause is this.
Receiver
The damage cause that is affected.
Parameters
value
The amount of damage to add.
Adds all elements to State.plusAssign
Receiver
The triggers that activate the damage.
Parameters
value
The amount of damage to deal.
Adds all elements to EntityDamageEvent.DamageCause.plusAssign
Receiver
The causes that are affected.
Parameters
value
The amount of damage to deal.