registry

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

Retrieves an entity tracker registry by the entity's UUID.

Return

an optional containing the registry if found

Since

1.15.2

Parameters

uuid

the entity's UUID


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

Retrieves an entity tracker registry for a Bukkit entity.

Return

an optional containing the registry if found

Since

1.15.2

Parameters

entity

the Bukkit entity


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

Retrieves an entity tracker registry for a base entity.

Return

an optional containing the registry if found

Since

1.15.2

Parameters

entity

the base entity