registry

@Nullable
open fun registry(@NotNull uuid: @NotNull UUID): @Nullable EntityTrackerRegistry

Retrieves a registry by entity UUID.

Return

the registry, or null if not found

Since

1.15.2

Parameters

uuid

the entity UUID


@Nullable
open fun registry(id: Int): @Nullable EntityTrackerRegistry

Retrieves a registry by entity ID.

Return

the registry, or null if not found

Since

1.15.2

Parameters

id

the entity ID


@Nullable
open fun registry(@NotNull entity: @NotNull BaseEntity): @Nullable EntityTrackerRegistry

Retrieves a registry for a base entity.

Return

the registry, or null if the entity has no model data

Since

1.15.2

Parameters

entity

the base entity