OnDamage

interface OnDamage

On damage

Functions

Link copied to clipboard
@NotNull
open fun andThen(@NotNull other: @NotNull HitBoxListener.OnDamage): @NotNull HitBoxListener.OnDamage
Sums two damage handlers
Link copied to clipboard
abstract fun event(@NotNull hitBox: @NotNull HitBox, @NotNull source: @NotNull ModelDamageSource, damage: Double): Boolean
Handles damage event