Builder

open class Builder

Builder

Functions

Link copied to clipboard
@NotNull
open fun build(): HitBoxListener
Build it as listener
Link copied to clipboard
@NotNull
open fun damage(@NotNull damage: BiPredicate<ModelDamageSource, Double>): HitBoxListener.Builder
Sets damage listener
Link copied to clipboard
@NotNull
open fun dismount(@NotNull dismount: BiConsumer<HitBox, Entity>): HitBoxListener.Builder
Sets dismount listener
Link copied to clipboard
@NotNull
open fun mount(@NotNull mount: BiConsumer<HitBox, Entity>): HitBoxListener.Builder
Sets mount listener
Link copied to clipboard
@NotNull
open fun remove(@NotNull remove: Consumer<HitBox>): HitBoxListener.Builder
Sets remove listener
Link copied to clipboard
@NotNull
open fun sync(@NotNull sync: Consumer<HitBox>): HitBoxListener.Builder
Sets sync listener