The item type that the component will be attached to.
Optional
options: Partial<ItemTypeDiggerComponentOptions>The options for the digger component.
Protected
Readonly
collectionThe component collection of the item type.
Readonly
identifierThe component identifier of the item type.
Protected
Readonly
typeThe item type of the component.
Static
Readonly
identifierThe component identifier of the item type.
Protected
componentThe component value of the item type.
Get the destruction speeds of the item.
An array of destruction speeds.
Get whether the efficiency
enchantment will affect the item.
True if the efficiency
enchantment will affect the item, false otherwise.
Set the destruction speeds of the item.
An array of destruction speeds.
Set whether the efficiency
enchantment will affect the item.
True if the efficiency
enchantment will affect the item, false otherwise.
Create a new digger component for an item type.