Commit Graph

20 Commits

Author SHA1 Message Date
bd9b4eab67
Improve the Category enum class, use kotlinx-coroutines-jdk8 & add a compiler flag, and make ClickBox.name not null by introducing Snowy.MissingComponent 2021-06-07 21:42:00 +02:00
fa7ecb9d5d
Improve Configuration.kt by adding operator functions 2021-06-04 23:09:14 +02:00
d8bbab0ff7
Use kotlinx-serialization-json instead of gson and move the macros to the main configuration file 2021-06-01 13:21:02 +02:00
7fd3e3f641
Use java reflection instead of kotlin-reflect in ButtonImpl.kt and reintroduce the alphabetical ordering of buttons 2021-05-29 18:09:15 +02:00
6848b26797
Cast classes to ButtonImpl properly in Snowy.kt, FabricInit.kt and ForgeInit.kt 2021-05-27 21:29:11 +02:00
b1852f743e
Sort buttons alphabetically 2021-05-27 20:57:18 +02:00
c7729af67f
Add a @Ignore annotation, make Macro.command a jvm field and add a isValidForButtonCollection function to Snowy.kt 2021-05-20 14:24:39 +02:00
22009a53f1
Use gson instead of kotlinx-serialization 2021-05-20 13:23:34 +02:00
8f16eae53b
Search annotations in a specific package, add a MACROS category and a GREEN color 2021-05-18 18:25:12 +02:00
f9fd9222ef
Fix the ButtonImpl.initialize() method producing null, use reflections8 only on fabric and shadow kotlinx.serialization on forge 2021-05-16 14:44:26 +02:00
c39670c764
Finally fix reflection on forge by using forge's scan data 2021-05-16 12:46:23 +02:00
cb20a6e744
Use reflections8 instead of reflections 2021-05-15 22:48:51 +02:00
592bb31eee
Re-add the buttons configuration saving feature 2021-05-15 18:58:39 +02:00
3d08c24c17
Initialize every button in Snowy.kt 2021-05-15 17:15:24 +02:00
517a653d67
Annotate the Snowy logger with @JvmField 2021-04-21 19:25:37 +02:00
dac1294ee3
Add a configuration made using the config4k library 2021-04-16 22:44:03 +02:00
7416bd0ee9
Add an Events system, a mixin for ends of ticks, and ConfigScreen.kt. 2021-04-09 20:48:01 +02:00
de806a742c
Optimize imports and use the class's name for the logger. 2021-04-09 15:24:19 +02:00
6bb1e6eac8
Use forge events in forgeInit.kt, and add a @JvmStatic annotation to the logger in Snowy.kt 2021-04-09 15:20:08 +02:00
3b55558ca4
Add a logger to CommonSnow.kt, and rename it to Snowy.kt. 2021-04-09 14:30:24 +02:00