MinecraftItemsRegistry

Items service implementation using material name as itemId. Supports ItemMetaPayload as a payload in getItem.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val id: String
Link copied to clipboard
open override val knownIds: List<String>

Inherited properties

Link copied to clipboard
open val isEnabled: Boolean

Functions

Link copied to clipboard
open override fun getItem(itemId: String, payload: Any?, amount: Int): ItemStack?
Link copied to clipboard
open override fun getItemId(item: ItemStack): String
Link copied to clipboard
open override fun isItemExists(itemId: String): Boolean

Inherited functions

Link copied to clipboard
open fun getItem(itemId: String): ItemStack?
open fun getItem(itemId: String, payload: Any?): ItemStack?
open fun getItem(itemId: String, amount: Int): ItemStack?
Link copied to clipboard
open fun isSameItem(item: ItemStack, itemId: String): Boolean