getTopInventoryPaginatedSequenceEntry

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

Return

The top sequence-backed inventory entry of type T, or null if not found

Since

2.2.0

Parameters

clazz

The KClass of the sequence-backed inventory type

player

The player whose top inventory entry to check

Type Parameters

T

The sequence-backed inventory type


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

Return

The top sequence-backed 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 sequence-backed inventory type