- Now supports Minecraft 1.20 in addition to 1.19.3 and 1.19.4 (close #72)
- Updated to Kotlin 1.8.22, serialization 1.5.1, coroutines 1.7.1
- Compatibility with Catalogue mod (close #70)
- Updated to Kotlin 1.8.21
- Supports 1.19.4 as well as 1.19.3
- Updated to serialization 1.5.0
- Supports 1.19.3
- Updated to Kotlin 1.8.10
- Add utility methods for working with Mojang's Vector classes
- Add annotations back to the compiled JAR, hopefully the last bugfix update after switching to JarJar
- Fix version range on kffmod, otherwise identical to 3.9.0
- Updated to Kotlin 1.8.0
- Updated to Kotlin 1.7.20, serialization 1.4.1
- Updated to Kotlin 1.7.10, coroutines 1.6.4
- Fixed incompatibility with Forge 1.19.2 43.0.1+
- Updated to Kotlin 1.7.0
- Switch logging markers to work with 1.19
- Now works with 1.18 - 1.19
- Updated to coroutines 1.6.2, serialization 1.3.3
- Changed KotlinModContainer to fix an issue with LuckPerms
- Bundle JetBrains annotations 23.0.0 again because Forge does not bundle it in production
- Removed multiple generic type bounds on
registerObject
because it was causing errors
- Updated to Kotlin 1.6.21
registerObject
now supports Deferred Registers with vanilla registry types because Forge supports those types of registries as of 40.1.0
- Updated to Kotlin 1.6.20, coroutines 1.6.1
- Updated to Kotlin 1.6.10, coroutines 1.6.0, serialization 1.3.2
- Fix Java module issue with ObjectHolderDelegates
- Fix sources jar in gradle
- Updated to 1.18
- Removed JetBrains annotations from bundled dependencies because Forge now includes it
- Fix generic types with
registerObject
to work like they used to - Go back to using slim jars on maven (todo update the readme)
- You will now need to manually add kotlin in your
build.gradle
- Another attempt to fix @EventBusSubscriber
Actually fixed bug with @EventBusSubscriber
- Fixed bug with @EventBusSubscriber (from unpublished version 2.0.2)
- Updated to Kotlin 1.5.31, Jetbrains annotations 23.0.0, serialization 1.3.1
- Change
registerObject
to return an interface subclassing property delegate and supplier
- Fixed bug with @EventBusSubscriber
- Updated to Kotlin 1.5.31, serialization 1.3.0
- Maven now has fat jar
- Removed KDeferredRegister and replaced with an extension function for property delegates
- Inlined a bunch of Forge.kt functions because KFF can't reference game code anymore
- Removed KotlinEventBus
- WILL NOT WORK WITH 1.16 AND PRIOR, 1.x.x will be maintained for those versions
- Updated to work with Forge 1.17.x
- KDeferredRegister now (hopefully) supports modded registries
- ObjectHolderDelegate has slightly more helpful error messages when a value is not present
- Cleaned up legacy code from 1.14-1.16
- Removed some deprecated functions
- Fixed missing dependencies on Curseforge
- Updated to Kotlin 1.5.30, JetBrains annotations 22.0.0, coroutines 1.5.2
- Updated to Kotlin 1.5.21, JetBrains annotations 21.0.1, coroutines 1.5.1, serialization 1.2.2
- Fixed maven repo to contain the latest versions
- Updated to Kotlin 1.5.20
- Added support for using Mod.EventBusSubscriber as a file annotation. See AutoKotlinEventBusSubscriber.kt KDoc for example.
- Made registryName and registry properties of ObjectHolderDelegate public.
- Updated to Kotlin 1.5.10, Updated to coroutines 1.5.0, Updated to serialization 1.2.1
- Added a missing serialization library that went missing in 1.12.0
- Finally removed the
MINECRAFT
thing that was deprecated a while ago - Improved the buildscript and fixed some deprecation warnings, thanks Username404-59 on GitHub
- Updated to Kotlin 1.5.0, Updated to coroutines 1.5.0-RC, updated to serialization 1.2.0
- Forge Gradle 4 and Kotlin Gradle plugin now require Gradle 6.8.1. Update by changing the version of the gradle wrapper in
gradle/wrapper/gradle-wrapper.properties
. - Added a missing coroutines module that caused an issue in KFF 1.11.0
- Downgraded to coroutines 1.4.2 due to missing class errors
- Updated to Kotlin 1.4.32, Updated to coroutines 1.4.3
- Updated to Kotlin 1.4.31, Updated to serialization 1.1.0
- Updated to Kotlin 1.4.30
- Fixed a few things to match the new EventBus version.
- Fix #11 and #12. Event bus wrapper now posts events properly.
- Now includes the Kotlin JSON Serialization 1.0.1 library.
- Added
registerObject
function to KDeferredRegister for getting ObjectHolderDelegate instances without needing a cast to ObjectHolderDelegate. - Deprecated
register
in KDeferredRegister - Fixed KReflect sometimes not showing up on the Maven.
- Updated to Kotlin 1.4.21, Updated to coroutines 1.4.2, Updated to JetBrains annotations 20.1.0
- Fixed errors in KotlinEventBus with certain Lambda syntax
- Removed inline modifier for functions
runForDist
,runWhenOn
, andcallWhenOn
in Forge.kt. - Changed the
AutoKotlinEventBusSubscriber
to not crash when loading client only subscribers with client only members. - Deprecated
MINECRAFT
and set deprecation level to error. This is because the property only works on the version KFF was compiled with.
- Updated to support changes in the Forge API in 1.16.2 and 1.16.3 (KFF should no longer cause crashes)
- Updated to Kotlin 1.4.10
- Updated to Kotlin 1.4.0
- Fixed
KDeferredRegistry
registering things out of order
- Kotlin Gradle Plugin now requires Gradle 5.3. Update by changing the version of the gradle wrapper in
gradle/wrapper/gradle-wrapper.properties
. - Added a
KDeferredRegistry
similar to Forge'sDeferredRegistry
but works withObjectHolderDelegate
s instead ofRegistryObject
s. - Fixed a typo in the KDoc for
MOD_BUS
that falsely statedAttachCapabilitiesEvent
was fired on the mod-specific event bus. - Updated to Kotlin 1.4.0-rc
- Bumped version range to work with 1.16 Forge when it comes out.
- Added a modding skeleton repository as an alternative to editing the build.gradle the Forge MDK ships with.
- Added two more reified generic functions to the KotlinEventBus for
priority
andreceivedCancelled
parameters. - Fixed the ObjectHolderDelegate not allowing subtypes of classes that implement IForgeRegistryEntry
- Updated to Kotlin 1.4-M2, Updated to coroutines 1.3.7
- Added a sided delegate class which returns a "client value" on the client side and a "server value" on the server side.
- Added a new utility file called "Kotlin.kt" that provides a few utility functions not related to Minecraft Forge.
- Added an example mod. I will make a template GitHub repository for Kotlin for Forge soon.
- Adjusted mod construction to accurately report exceptions in @Mod object constructors
- Restructured Kotlin for Forge code to use Kotlin APIs whenever possible
- Added styling to the maven repo
- Added backwards compatibility to mods that used versions of Kotlin for Forge before 1.2.0
- Added a Kotlin implementation of the Forge EventBus that has working addListener and addGenericListener functions
- Added an overload of addGenericListener that uses a reified type parameter instead of a class parameter.
- Updated to Kotlin 1.4-M1
- Events now properly fire through KotlinModContainer
- Updated to Kotlin 1.3.70, Updated to coroutines 1.3.4, Updated to JetBrains annotations 19.0.0
- Fixed an issue with language extensions
- Fixed an internal crash
- Initial release for 1.14 and 1.15