mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-10 09:20:28 +00:00
dad6874638
Historically we'd provide specific data based on the current item and NBT (hence BasicItemDetailProvider). However, with components, it now makes sense to provide details for all items with a specific component. This commit adds a new "ComponentDetailProvider" class, that reads a component from an item stack (or other component holder) and provides details about it if present. |
||
---|---|---|
.. | ||
common | ||
common-api | ||
core | ||
core-api | ||
fabric | ||
fabric-api | ||
forge | ||
forge-api | ||
lints | ||
standalone | ||
web | ||
ARCHITECTURE.md |