Optional
options: Partial<ItemTypeUseModifiersComponentOptions>Protected
Readonly
collectionReadonly
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 movement modifier scale that affects how fast the player can move while using this item.
The movement modifier scale, defaulting to 1 if not set.
Get the use duration of the item, which is the time in seconds that the item can be used.
The use duration in seconds, defaulting to 0 if not set.
Set the movement modifier scale that affects how fast the player can move while using this item.
The movement modifier scale to set.
Set the use duration of the item, which is the time in seconds that the item can be used.
The use duration in seconds to set.
Static
from
The component collection of the item type.