damage

@NotNull
open fun damage(@NotNull damage: @NotNull HitBoxListener.OnDamage): @NotNull HitBoxListener.Builder

Adds a damage handler.

Return

this builder

Since

1.15.2

Parameters

damage

the damage handler