NovaItem
Represents a custom Nova item type.
Properties
The base data components of this NovaItem.
The ItemBehaviors of this NovaItem.
An ItemProvider containing the client-side ItemStack of this NovaItem, intended for use in Guis.
The ItemStack that is left over after this NovaItem was used in a crafting recipe, or an empty stack if there is no remainder.
Functions
Creates an ItemBuilder for an ItemStack of this NovaItem, in client-side format, intended for use in Guis.
Creates an ItemBuilder for an ItemStack of this NovaItem, in server-side format.
Gets the first ItemBehavior that is an instance of T, or throws an IllegalStateException if there is none.
Gets the first ItemBehavior that is an instance of behavior, or throws an IllegalStateException if there is none.
Gets the first ItemBehavior that is an instance of T, or null if there is none.
Gets the first ItemBehavior that is an instance of type or a subclass, or null if there is none.
Handles the use of itemStack with this NovaItem being stopped for entity in hand and remainingUseTicks left.
Handles a use tick for entity with itemStack with this NovaItem in hand with passedUseTicks passed and remainingUseTicks remaining.
Checks whether this NovaItem has an ItemBehavior of the reified type T, or a subclass of it.
Checks whether this NovaItem has an ItemBehavior of the specified class type, or a subclass of it.