MimicItemsRegistry

Deprecated

Use Items API instead.

Items registry showing items of all item providers via the deprecated ItemsRegistry API, using provider IDs as namespaces: acacia_boat ->minecraft:acacia_boat.

Unlike Items API, it accepts IDs deprecated there:

  • ID without namespace or with the mimic namespace is searched over all providers.

  • IDs with uppercase letters or more than one : are accepted with a warning.

  • MMOItems ID without item type (mmoitems:excalibur) is accepted with a warning if only one type has this item.

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: Collection<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
Link copied to clipboard
open override fun isSameItem(item: ItemStack, 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?