mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-01-10 17:30:29 +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. |
||
---|---|---|
.. | ||
src | ||
build.gradle.kts |