Creates an empty ItemExtraData instance
Creates a copy of current ItemExtraData instance with the same contents
Adds a new enchantment to the item
enchantment id, one of the EEnchantment constants
enchantment level, generally between 1 and 5
Creates a copy of current NativeItemInstanceExtra object
a created copy of the data
all enchantments names separated by line breaks
parameter name
default value to be returned if item extra data doesn't contain a parameter with specified name
custom boolean parameter value if extra data of the item contains one, fallback value otherwise. If fallback was not specified, null is returned.
compound tag for the specified item
item's custom name
amount of enchantments applied to the item
enchantment id, one of the EEnchantment constants
level of the specified enchantment
enchantment id, one of the EEnchantment constants
enchantment level, generally between 1 and 5
enchantment name by its id and level
parameter name
default value to be returned if item extra data doesn't contain a parameter with specified name
custom float parameter value if extra data of the item contains one, fallback value otherwise. If fallback was not specified, null is returned.
parameter name
default value to be returned if item extra data doesn't contain a parameter with specified name
custom integer parameter value if extra data of the item contains one, fallback value otherwise. If fallback was not specified, null is returned.
parameter name
default value to be returned if item extra data doesn't contain a parameter with specified name
custom long integer parameter value if extra data of the item contains one, fallback value otherwise. If fallback was not specified, null is returned.
parameter name
default value to be returned if item extra data doesn't contain a parameter with specified name
custom string parameter value if extra data of the item contains one, fallback value otherwise. If fallback was not specified, null is returned.
true, if item extra exists and is not empty
true if the item is enchanted, false otherwise
Puts some custom boolean parameter to the extra data of the item
parameter name
parameter value
reference to itself to be used in sequential calls
Puts some custom floating point number parameter to the extra data of the item
parameter name
parameter value
reference to itself to be used in sequential calls
Puts some custom integer parameter to the extra data of the item
parameter name
parameter value
reference to itself to be used in sequential calls
Puts some custom long integer parameter to the extra data of the item
parameter name
parameter value
reference to itself to be used in sequential calls
Puts some custom string parameter to the extra data of the item
parameter name
parameter value
reference to itself to be used in sequential calls
Removes all the enchantments of the item
Removes all custom parameters from item extra data
Removes enchantments by its id
Sets compound tag for the specified item
Sets item's custom name
Generated using TypeDoc
Class representing item extra data. Used to store additional information about item other then just item id and data