ChromaCore/Chroma-Core
NorbiPeti a26c16565f
Add support for delegating config properties
- Changed the return value of all getData() methods to allow using the result for property delegation
- This allows using the config properties like any other property in Kotlin
- Also delegating the underlying ConfigData object to the delegate (heh) so that the result can still be used from Java normally
- It does require one notable change though: using the IConfigData interface *everywhere*
- One problematic part for this is ListConfigData, as a much more elaborate IConfigData<ListConfigData<T>.List> needs to be used for list configs
- Also using the display name for MC users heh
2023-06-12 22:56:39 +02:00
..
src/main Add support for delegating config properties 2023-06-12 22:56:39 +02:00
License.md Refactoring, renaming everything 2020-02-04 17:39:18 +01:00
pom.xml Fix config/plugin lateinit error, convert API, color codes 2023-05-03 00:26:24 +02:00