4
0
Fork 0
mirror of https://github.com/Anvilcraft/modpacktools synced 2024-11-17 23:41:55 +01:00
Commit graph

126 commits

Author SHA1 Message Date
b3cd41f215 cleanup 2020-07-28 00:02:29 +02:00
b795dc1d79 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/main/kotlin/ley/anvil/modpacktools/commands/CreateModlist.kt
2020-07-27 23:22:12 +02:00
1653478a92 improve CustomToml.kt
CreateModlist.kt will now read CSS from resources instead of from string in code
2020-07-27 23:20:34 +02:00
363468e0f9 Switched from string link to FileOrLink 2020-07-27 23:16:49 +02:00
c4635528cf ASConverter.kt converts an Addonscript to a Curse Manifest and a Map with links/files and installer ids 2020-07-27 23:04:30 +02:00
b9d14f7f1f remove unused ModInfo class and broken AddMod command (to be rewritten) 2020-07-27 14:33:24 +02:00
2c4b29c959 improve modlist 2020-07-27 14:11:42 +02:00
05291ab8e8 small fix 2020-07-27 00:24:46 +02:00
afe042be38 Updated Addonscript (reimport of Manifest needed) 2020-07-27 00:10:13 +02:00
6e2941ef94 fix imports and add comments 2020-07-26 23:53:19 +02:00
4f1a187c7d port main to KT
added lazy initialization to objects in main (should cause significant performance improvement)
2020-07-26 23:30:46 +02:00
b2d8a7489a port CustomToml to kt 2020-07-26 22:39:53 +02:00
b427ff532b small cleanup 2020-07-26 20:32:02 +02:00
9aea30e441 change name of util class in java 2020-07-26 19:46:55 +02:00
643960c8a7 improve mod list css 2020-07-26 19:03:10 +02:00
9d3c82fe37 fix tilera's code 2020-07-26 16:59:31 +02:00
86c7c7d67d make json var in ModpackJsonHandler.kt return json instead of wrapper 2020-07-26 16:44:02 +02:00
fdbbea9682 Implemented new Addonscript 2020-07-26 16:38:16 +02:00
cc5fcd6cd2 update addonscript (everything is broken currently) 2020-07-26 15:54:02 +02:00
abaaadb59c ported mpjh to kt 2020-07-26 15:50:22 +02:00
26361cbe66 ported Config to kt 2020-07-26 15:19:19 +02:00
897bc9b918 commands can (and should) now be KT objects instead of classes 2020-07-26 13:50:07 +02:00
b21b276563 fix file downloader 2020-07-26 01:08:23 +02:00
ae8a4fc6bb ported FileDownloader to kotlin (couldnt test cause AS is broken) 2020-07-25 23:59:54 +02:00
294280e5be hotfix NPE when running command with no return message. 2020-07-25 22:53:54 +02:00
521bc31991 port CommandLoader to kotlin 2020-07-25 22:50:27 +02:00
b064b63dee port util class to kotlin and improve CreateModlist.kt 2020-07-25 20:38:22 +02:00
2d987ee40e port downloadmods to kotlin (not working because addonscript is broken) 2020-07-25 18:48:19 +02:00
b710bdd67f init command ported to kotlin! 2020-07-25 17:57:13 +02:00
3f782b6f12 config will now default to config from resources if no config file exists to prevent NPE. 2020-07-25 17:56:55 +02:00
0543bb67be port Import to kotlin 2020-07-25 17:36:49 +02:00
1a41b9ca87 clean up CreateModlist.kt 2020-07-25 16:07:55 +02:00
2a561a71c3 port CreateModList to kotlin (couldnt test because @tilera broke addonscript again) 2020-07-25 01:18:34 +02:00
52f766fa3e Update to new Addonscript 2020-07-24 21:55:58 +02:00
29a2768882 Remove grovy and kotlin while they are not in use
This reverts commit a66a0ba349.
2020-07-24 19:56:00 +02:00
a66a0ba349 Added Kotlin and Groovy 2020-07-24 19:45:30 +02:00
56511253c2 remove weird @NonNull annotation 2020-07-24 15:28:16 +02:00
ad65ffc675 Change to new Addonscript (to be tested by Lordy xD) 2020-07-24 14:30:43 +02:00
6b0e35cf51 use okhttp client for all network stuff 2020-07-23 22:36:34 +02:00
e83776994f remove unused fields 2020-07-18 16:41:28 +02:00
30e8201d92 misc improvements 2020-07-18 14:48:58 +02:00
960fc91265 add mod downloader and some misc changes 2020-07-17 23:42:38 +02:00
254e7fa631 added ConvertManifestToModpackJSON command 2020-06-18 23:15:40 +02:00
3d3f914d2c AddMod.java ist now writing the json to the File correctly 2020-06-18 22:29:32 +02:00
5179c3faee added ModpackJsonHandler
added getPath method to config
2020-06-18 22:18:59 +02:00
e3e5d8a7c3 AddedAddonscript to Config 2020-06-18 21:12:43 +02:00
7d3ecb0d19 replace tabs with spaces because github cant show them properly (still) 2020-06-18 18:58:13 +02:00
4099a02bfb small improvements and config changes
help message sorts commands now
init command added
config is no longer created on program start
CommandLoader now checks if a config file exists if commands require it
an ICommand can now be executed without a CommandLoader instance
minor cleanups
2020-06-18 18:53:39 +02:00
74887d8fa6 some changes
commands can now specify a help message
the command name is now passed in with the getName() method instead of in the annotation
cleanups
2020-06-18 17:05:16 +02:00
8461f0f931 Add Docs to new command loading system 2020-06-18 16:20:50 +02:00