createHitBox

open fun createHitBox(@Nullable listener: @Nullable HitBoxListener, @NotNull predicate: @NotNull BonePredicate): Boolean

Creates hitboxes for the entity based on a predicate.

Return

true if any hitboxes were created

Since

1.15.2

Parameters

listener

the hitbox listener

predicate

the bone predicate