get Top Inventory Paginated Fetched Entry
fun <T : AbstractKtInventoryPaginatedFetched<*, *>> getTopInventoryPaginatedFetchedEntry(clazz: KClass<T>, player: HumanEntity): AbstractKtInventoryPaginatedFetched.Entry<*, *>?
Gets the condition-fetched paginated inventory entry of the top inventory in the currently open inventory view.
Return
The top condition-fetched inventory entry for type T, or null if not found
Since
2.2.0
Parameters
clazz
The KClass of the condition-fetched inventory type
player
The player whose top inventory entry to check
Type Parameters
T
The condition-fetched inventory type
inline fun <T : AbstractKtInventoryPaginatedFetched<*, *>> getTopInventoryPaginatedFetchedEntry(player: HumanEntity): AbstractKtInventoryPaginatedFetched.Entry<*, *>?
Gets the condition-fetched paginated inventory entry of the top inventory in the currently open inventory view.
Return
The top condition-fetched inventory entry for 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 condition-fetched inventory type