Builder

open class Builder

Builder

Functions

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