Commit Graph

69 Commits

Author SHA1 Message Date
autaut03 8b3b55507f Little cleanup of mods.toml & some debugging stuff 2019-02-13 15:34:30 +02:00
autaut03 30311f89e7 Fix missing language loader implementation info 2019-02-13 15:33:54 +02:00
autaut03 fe2b5657c5 Fix ModLoadingContext being a singleton 2019-02-13 00:09:24 +02:00
autaut03 d2da5a71e2 Little refactor 2019-02-13 00:06:19 +02:00
autaut03 fb1184288c Updated docs 2019-02-12 23:58:28 +02:00
autaut03 1ab90f9cc3 Automatic event subscriber fixed 2019-02-12 22:15:08 +02:00
autaut03 b5b0402d51 Use 4 spaces instead of tabs for indentation 2019-02-12 21:42:17 +02:00
autaut03 4a1a45dc09 Updated Kotlin to newer versions 2019-02-12 21:25:49 +02:00
autaut03 fe0aff0a37 Updated gradle config for ForgeGradle 3.0 2019-02-12 21:21:46 +02:00
autaut03 2cc508fd38 Rewrite for 1.13 (wip) 2019-02-12 21:20:49 +02:00
autaut03 22eb8db077 Updated gradle wrapper to the newest version 2019-02-12 21:18:38 +02:00
Shadowfacts 7aa0a3ef37
Bump version 2018-11-24 13:40:33 -05:00
Shadowfacts 1342a6f5a6
Update to Kotlin 1.3.10, Coroutines 1.0.1, and bump version
Closes #48
2018-11-23 21:14:22 -05:00
Shadowfacts b18b818f64
Bump version to 1.8.0 2018-10-30 19:24:05 -04:00
Shadowfacts 90c0276180
Update Kotlin to 1.3.0, Coroutines to 1.0.0
Closes #43
2018-10-30 19:20:59 -04:00
Shadowfacts 583e9d8170
Bump version 2018-06-16 10:34:04 -04:00
Shadowfacts 9809314759
Only attempt to register event handlers for mods that use KotlinAdapter
Closes #41
2018-06-14 19:14:55 -04:00
Shadowfacts 9e8935d4cf
Bump version 2018-06-14 18:25:59 -04:00
Shadowfacts 7b885ea4cd
Convert indents to tabs 2018-06-11 17:22:36 -04:00
Shadowfacts 7cebe692e7
Only unregister static/register object event handlers unless appropriate handler methods are detected 2018-06-11 17:21:43 -04:00
Shadowfacts 26b895b6ce
Bump version 2018-06-10 19:27:52 -04:00
gegy1000 df437491f1 Fix #38 (#39)
Because the automatic subscriber depends on the mod class loader, we need it to run after that has been initialized. That only happens in the construction event, so we have to search at some later stage.
2018-06-10 19:27:26 -04:00
Shadowfacts ecf20f1a76
Don't crash on failed registration
I think Forge is doing something weird with registration event handlers causing ClassNotFoundExceptions

Closes #37
2018-06-09 17:32:39 -04:00
Shadowfacts 5d8ddee776
Update Kotlin 2018-06-09 15:29:04 -04:00
Shadowfacts c64538e7b0
Remove unnecessary elvis operator 2018-06-09 15:28:51 -04:00
Kitten be61809a7b Unregister class reference from the event bus (#36)
When Forgelin registers the object instance of an `@EventBusSubscriber` annotated object class to the event bus, it does not unregister the static class reference that Forge will have registered before Forgelin parses the annotation candidates. This could potentially cause issues, and breaks expectations/semantics from having the annotation register a class both statically and as an instance. This pull request adds a call to `MinecraftForge.EVENT_BUS#unregister` to remove the Forge-registered class reference before registering the instance reference.
2018-06-09 15:08:40 -04:00
gegy1000 438c604d52 Object EventBusSubscriber registration (#34)
* Object EventBusSubscriber registration

* Register from construction and handle companion objects

* Rename construction event listener

* Syntax changes

* Add test mod
2018-05-21 09:36:15 -04:00
Shadowfacts 68c718fe57
Update Maven publishing 2017-11-30 13:31:14 -05:00
Shadowfacts 06f171947d
Update to Kotlin 1.2 2017-11-30 13:26:56 -05:00
Shadowfacts ebba471b4b
Update Gradle config 2017-08-12 17:51:45 -04:00
Marvin Rösch 6f718d74fc Remove custom Kotlin source replacement code (#22) 2017-08-12 17:13:58 -04:00
Marvin Rösch 23dfb368e1 Add automatic version replacement in Forgelin.kt (#20)
* Add automatic version replacement in Forgelin.kt

* Remove unnecessary newlines caused by IDEA
2017-07-19 21:11:55 -04:00
Shadowfacts 8a5751bc19
Update README.md 2017-06-29 16:46:05 -04:00
Shadowfacts bb3a703467
Update Gradle config 2017-06-29 16:39:47 -04:00
Severen Redwood ae873b5cc4 Bump versions (#16)
Bumped the following versions:

- Minecraft (to 1.12)
- Forge (to 14.21.0.2368)
- MCP Mappings (to snapshot_20170624)
- Kotlin (to 1.1.3)
- Kotlin Coroutines (to 0.16)
- Jetbrains Annotations (to 15.0)
2017-06-28 16:48:36 -04:00
Shadowfacts b3fe2d34b3
Bump version 2017-06-11 16:20:08 -04:00
Shadowfacts 2065fbd62b
Add JCenter note to README.md
Closes #14
2017-06-11 16:19:39 -04:00
Shadowfacts 33320699ac
Add mcmod.info
Closes #13
2017-06-11 16:17:46 -04:00
Shadowfacts 469fcdaea7
Update Kotlin and add kotlin-stdlib-jre8
Closes #11
2017-06-11 16:15:54 -04:00
Shadowfacts d5138b9814
Update Kotlin, add JetBrains annotations and Kotlin coroutines
closes #9
2017-04-29 12:05:56 -04:00
Shadowfacts 4dda702c93
Update to Kotlin 1.1.1 & bump version 2017-03-27 16:45:14 -04:00
Shadowfacts 531b3da7ef
Update to Kotlin 1.1
Closes #8
2017-03-05 10:32:02 -05:00
Shadowfacts e0209c61b2
Readd loading plugin
Prevents crash because of unloaded Forgelin/Kotlin classes.

Closes #6
Closes #7
2017-02-16 18:22:08 -05:00
Shadowfacts 757db6540d
Remove old stuff in build.gradle 2017-02-15 19:23:34 -05:00
Shadowfacts 106c697b49
Add mod, remove loading plugin, bump version
Closes #5
2017-02-15 19:21:37 -05:00
Shadowfacts 8a06ed849e
Update to Kotlin 1.0.6, clean up language adapter 2016-12-28 09:42:03 -05:00
Shadowfacts 307b2bb8cf
Add license 2016-12-15 19:49:18 -05:00
Eladkay 5aa5c6b5c4 Small fix I noticed (#2) 2016-11-18 17:58:15 -05:00
Shadowfacts 5ba8149af6 Update README.md 2016-11-16 11:45:44 -05:00
Shadowfacts 144c4468ee It lives 2016-11-14 10:59:31 -05:00