This pull request introduces a new function, item_components, which accepts an item tuple as an argument and returns a list of all components within the tuple, including default components that are typically hidden.
Reason:
The primary purpose of this function is to provide access to default components, enabling users to leverage them for internal calculations, such as determining custom block breaking speeds based on the tool component.
Overview:
This pull request introduces a new function,
item_components
, which accepts an item tuple as an argument and returns a list of all components within the tuple, including default components that are typically hidden.Reason:
The primary purpose of this function is to provide access to default components, enabling users to leverage them for internal calculations, such as determining custom block breaking speeds based on the
tool
component.