mount

abstract fun mount(@NotNull hitBox: @NotNull HitBox, @NotNull entity: @NotNull Entity)

Called when an entity mounts the hitbox.

Since

1.15.2

Parameters

hitBox

the target hitbox

entity

the mounting entity