The item type that the component will be attached to.
Optionaloptions: Partial<ItemTypeDiggerComponentOptions>The options for the digger component.
Protected ReadonlycollectionThe component collection of the item type.
ReadonlyidentifierThe component identifier of the item type.
Protected ReadonlytypeThe item type of the component.
Static ReadonlyidentifierThe component identifier of the item type.
ProtectedcomponentThe 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.
Staticfrom
Create a new digger component for an item type.