registry

@NotNull
open fun registry(): @NotNull Optional<EntityTrackerRegistry>

Retrieves the tracker registry associated with this entity.

Return

an optional containing the registry if it exists

Since

2.0.0