entity

@NotNull
open fun entity(): @NotNull Entity

Returns the underlying NMS entity.

Return

the NMS entity

Since

2.0.0


abstract fun entity(@NotNull entity: @NotNull Entity)

Sets the underlying NMS entity.

Since

2.0.0

Parameters

entity

the NMS entity