nova-parent
Toggle table of contents
0.20-alpha.4
java
Platform filter
java
Switch theme
Search in API
nova-parent
nova-api
/
xyz.xenondevs.nova.api.item
/
NovaItemRegistry
Nova
Item
Registry
interface
NovaItemRegistry
Members
Functions
get
Link copied to clipboard
@
NotNull
abstract
fun
get
(
@
NotNull
id
:
@
NotNull
String
)
:
@
NotNull
NovaItem
@
NotNull
abstract
fun
get
(
@
NotNull
id
:
@
NotNull
NamespacedId
)
:
@
NotNull
NovaItem
Gets the
NovaItem
with the specified id.
@
NotNull
abstract
fun
get
(
@
NotNull
itemStack
:
@
NotNull
ItemStack
)
:
@
NotNull
NovaItem
Gets the
NovaItem
of the specified
ItemStack
.
get
Non
Namespaced
Link copied to clipboard
@
NotNull
abstract
fun
getNonNamespaced
(
@
NotNull
name
:
@
NotNull
String
)
:
@
NotNull
List
<
@
NotNull
NovaItem
>
Gets a list of
NovaItems
with the specified name, ignoring the namespace.
get
Or
Null
Link copied to clipboard
@
Nullable
abstract
fun
getOrNull
(
@
NotNull
id
:
@
NotNull
String
)
:
@
Nullable
NovaItem
@
Nullable
abstract
fun
getOrNull
(
@
NotNull
id
:
@
NotNull
NamespacedId
)
:
@
Nullable
NovaItem
Gets the
NovaItem
with the specified id, or null if there is none.
@
Nullable
abstract
fun
getOrNull
(
@
NotNull
itemStack
:
@
NotNull
ItemStack
)
:
@
Nullable
NovaItem
Gets the
NovaItem
of the specified
ItemStack
, or null if it is not a Nova item.