Custom Item
Represents a custom item that can have event listeners associated with it. These events can be triggered when the item is interacted with in various ways (e.g., left-click, right-click, drop, etc.).
Parameters
item
The ItemStack that represents the custom item.
id
The unique identifier for the custom item.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Opens a GUI when the item is right-clicked.
Link copied to clipboard
Opens a GUI when the item is right-clicked, passing the item as a parameter.