Shadowfacts
7cebe692e7
Only unregister static/register object event handlers unless appropriate handler methods are detected
4 years ago
Shadowfacts
26b895b6ce
Bump version
4 years ago
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.
4 years ago
Shadowfacts
ecf20f1a76
Don't crash on failed registration
...
I think Forge is doing something weird with registration event handlers causing ClassNotFoundExceptions
Closes #37
4 years ago
Shadowfacts
5d8ddee776
Update Kotlin
4 years ago
Shadowfacts
c64538e7b0
Remove unnecessary elvis operator
4 years ago
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.
4 years ago
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
4 years ago
Shadowfacts
68c718fe57
Update Maven publishing
5 years ago
Shadowfacts
06f171947d
Update to Kotlin 1.2
5 years ago
Shadowfacts
ebba471b4b
Update Gradle config
5 years ago
Marvin Rösch
6f718d74fc
Remove custom Kotlin source replacement code ( #22 )
5 years ago
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
5 years ago
Shadowfacts
8a5751bc19
Update README.md
5 years ago
Shadowfacts
bb3a703467
Update Gradle config
5 years ago
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)
5 years ago
Shadowfacts
b3fe2d34b3
Bump version
5 years ago
Shadowfacts
2065fbd62b
Add JCenter note to README.md
...
Closes #14
5 years ago
Shadowfacts
33320699ac
Add mcmod.info
...
Closes #13
5 years ago
Shadowfacts
469fcdaea7
Update Kotlin and add kotlin-stdlib-jre8
...
Closes #11
5 years ago
Shadowfacts
d5138b9814
Update Kotlin, add JetBrains annotations and Kotlin coroutines
...
closes #9
5 years ago
Shadowfacts
4dda702c93
Update to Kotlin 1.1.1 & bump version
5 years ago
Shadowfacts
531b3da7ef
Update to Kotlin 1.1
...
Closes #8
6 years ago
Shadowfacts
e0209c61b2
Readd loading plugin
...
Prevents crash because of unloaded Forgelin/Kotlin classes.
Closes #6
Closes #7
6 years ago
Shadowfacts
757db6540d
Remove old stuff in build.gradle
6 years ago
Shadowfacts
106c697b49
Add mod, remove loading plugin, bump version
...
Closes #5
6 years ago
Shadowfacts
8a06ed849e
Update to Kotlin 1.0.6, clean up language adapter
6 years ago
Shadowfacts
307b2bb8cf
Add license
6 years ago
Eladkay
5aa5c6b5c4
Small fix I noticed ( #2 )
6 years ago
Shadowfacts
5ba8149af6
Update README.md
6 years ago
Shadowfacts
144c4468ee
It lives
6 years ago
Shadowfacts
dccdea16ce
Update README.md
6 years ago
Shadowfacts
efacae715f
Fix reobfuscation issue, bump version
...
Closes #1
6 years ago
Shadowfacts
99b5b2fc22
Bump version
6 years ago
Shadowfacts
b216102bb9
Add ListExtensions
6 years ago
Shadowfacts
e3c2d1c18d
Bump version
6 years ago
Shadowfacts
f342ce7b03
Property access syntax and elvis operators. Because.
6 years ago
Shadowfacts
3c23a62aad
Fix object instance field name
6 years ago
Shadowfacts
144cc8bac5
Add test mod
6 years ago
Shadowfacts
1eedd2da9b
Fix adapter name and bump version
6 years ago
Shadowfacts
d6e4352134
Fix plugin class name, bump version
6 years ago
Shadowfacts
8ad093fcb3
Bump version
6 years ago
Shadowfacts
8cec8f2201
Fix jar manifest
6 years ago
Shadowfacts
0edd79b1ba
Add maven gradle plugin
6 years ago
Shadowfacts
78e7b9abcf
Update README.md
6 years ago
Shadowfacts
2f24acf89c
Change Gradle configuration
6 years ago
Shadowfacts
059e83b6ba
Remove ShadowMC dependency
6 years ago
Shadowfacts
de10f71766
Add README.md
6 years ago
Shadowfacts
481cc68d21
Add Gradle wrapper
6 years ago
Shadowfacts
16bea29c08
Initial Commit
6 years ago