Async Item Provider
class AsyncItemProvider(val placeholder: ItemStack, providerFuture: CompletableFuture<AbstractItemProvider>) : AbstractItemProvider
An ItemProvider that can be used when the item is not immediately available, such as when it needs to be loaded from a database or generated asynchronously. It will display a placeholder item until the actual item is available.
Parameters
placeholder
The item to display while the actual item is being loaded.
provider Future
A future that will complete with the actual item provider once it is available