Event system changes in NeoForge 20.2
This post goes over the changes made to the “EventBus” subsystem of NeoForge 20.2.
This does not cover specific events, but rather changes made to the event machinery itself.
You can find a direct link to our latest installer file below.
Note: this file is still called forge because we’re trying to maintain compatibility with launchers, assuming they don’t hardcode things too much.
Use This Template
to create a copy in your personal GitHub space.You can use neoforge in your existing mod development as well. To do so:
https://maven.neoforged.net/releases
instead of https://maven.minecraftforge.net
plugins {
...
id 'net.neoforged.gradle' version '[6.0.13, 6.2)'
}
minecraft
dependency to use net.neoforged:forge
and the version as shown above.settings.gradle
has changed, as well as the removal of the buildscript
section in build.gradle
. Refer to The MDK for an example and more.