getTopInventoryPaginatedEntry

Gets the paginated inventory entry of the top inventory in the currently open inventory view.

Return

The top paginated inventory entry of type T, or null if not found

Since

2.2.0

Parameters

clazz

The KClass of the paginated inventory type

player

The player whose top inventory entry to check

Type Parameters

T

The paginated inventory type


Gets the paginated inventory entry of the top inventory in the currently open inventory view.

Return

The top paginated inventory entry of type T, or null if not found

Since

2.2.0

Parameters

player

The player whose top inventory entry to check

Type Parameters

T

The paginated inventory type