LexManos and Paint_Ninja
b0ccf1a480
Minecraft 1.21.9 update.
...
There a lot of performance improvements related to events.
No more InheritableEvent for abstract events that you shouldn't add listeners to anyway, like EntityEvent. Use their sub-events.
Made a lot more events records and interfaces. Mostly just a binary break, but has better performance.
Mod bus posting methods are now static, no more ModLoader.get() for those.
ObjectHolder was removed, use RegistryObject.
Changed RuntimeEnumExtender to only target Minecraft classes. If you want other modders to interact with your API, use an Interface instead of Enum.
Moved some abstract event methods to only the relevant sub-events now, e.g. can no longer check the side of a ClientTickEvent, because it'll always be client
Rendering has changed a lot, they now batch most things together so that the game will render faster.
RenderHighlightEvent changed a lot
See https://github.com/MinecraftForge/MinecraftForge-Experimental/tree/1.21.9-dev for unsquashed commits.
Co-authored-by: Paint_Ninja <PaintNinja@users.noreply.github.com >
2025-10-01 13:05:12 -07:00
Paint_Ninja
0a885a77e7
[1.21.8] Deprecate global IExtensibleEnum support ( #10662 )
...
This is intended for use with Minecraft classes only. Mod devs can support extending enums through other, more efficient means, such as converting their enum to a record and having static final fields of instances that correspond to each enum value.
2025-09-18 17:13:58 +01:00
Jonathing
4c1c3aafdb
Deprecate JS CoreMods, remove Forge's usages of them ( #10659 )
2025-09-16 20:13:30 +01:00
Paint_Ninja
7f56986027
Minor cleanup to FML, fix double parsing of mods.toml ( #10597 )
2025-08-04 12:50:39 -07:00
LexManos
70dd556db6
Use vanilla's entrypoint for GameTest servers
2025-07-01 23:56:59 -07:00
LexManos
e44a558f37
Fix Forge error screen not rendering text correctly. Closes #10569
2025-07-01 23:41:08 -07:00
LexManos and Paint_Ninja
5e8942e0a7
1.21.6 - New EventBus 7
...
A full rewrite and redesign of the library that offers much better performance, new features and fixes all previous design flaws
See the migration guide here: https://gist.github.com/PaintNinja/ad82c224aecee25efac1ea3e2cf19b91
Co-authored-by: Paint_Ninja <PaintNinja@users.noreply.github.com >
2025-06-18 02:53:58 -07:00
d50a3b5ab7
Minecraft 1.21.5
...
Co-authored-by: Ven <tudurap.com@gmail.com >
Co-authored-by: Jonathing <me@jonathing.me >
2025-03-26 16:34:26 -07:00
Paint_Ninja
8e4e02e258
Skip processing Forge classes in RuntimeDistCleaner ( #10199 )
...
Mod classes are still transformed as usual
2024-12-21 22:20:21 +00:00
Paint_Ninja
2f5a6fee48
Skip Forge classes in the RuntimeEnumExtender transformer ( #10197 )
...
Mod classes are still transformed as usual
2024-12-21 22:19:07 +00:00
LexManos
0e74886f8d
Add hooks for using Vanilla's new Client data generator ( #10206 )
...
Add new hook for custom block models that do not have real blocks backing them
Some workspace cleanup fixing log4j annotation processor
2024-12-19 10:41:21 -08:00
Paint_Ninja
07977ba242
Deprecate @ObjectHolder, add a couple of fast-paths ( #10195 )
2024-12-06 18:18:53 +00:00
LexManos
cf32a799a4
Speed up mod annotation scanning by ~30%
2024-12-06 10:11:04 -08:00
Paint_Ninja
0fda1d9393
Skip Vanilla classes for the CapabilityTokenSubclass transformer ( #10196 )
2024-12-06 17:35:09 +00:00
LexManos
041084d1da
Minecraft 1.21.4
2024-12-05 10:22:55 -08:00
LexManos
384286a453
Cleanup lifecycle transitions
...
Fix mod ordering for multi-mod jars
Make dependency resolution issues easier to debug/diagnose
2024-11-11 03:04:23 -08:00
LexManos
46cfe50108
Properly allow normal mods.toml mods to specify the module names and use a full module-info.
...
Make FMLModContainer read and apply Add-Opens and Add-Exports manifest entries from mod files.
Forge is now the `net.minecraftforge.forge` module instead of `forge`
https://forums.minecraftforge.net/topic/153333-proper-java-module-support-in-forge-mods/
2024-11-04 16:55:10 -08:00
LexManos
c3ee633897
Fix and cleanup RuntimeDistCleaner
2024-10-08 14:31:17 -07:00
Paint_Ninja
9714512c31
[1.21.1] ModLoading cleanup and optimisations ( #10052 )
2024-08-16 22:49:11 +01:00
Yeregorix
f106ff0c21
Properly ignore unknown mod files ( #10063 )
2024-08-14 02:17:09 -07:00
LexManos
dc594f196a
Load mods that declare explicit 1.21 compatibility as 1.21.1 is a minor bugfix.
2024-08-08 14:01:31 -07:00
LexManos
8e0845d032
Add support for named sub-caps
2024-06-19 15:30:46 -07:00
LexManos
3272e995ab
Some code cleanup in ModInfo/ModFileInfo to use less streams and make things easier to debug.
2024-06-18 11:47:11 -07:00
LexManos
8edb551571
Bump NightConfig to 3.7.3, to fix toml sub-configs being completely broken. Fixes #10015
2024-06-18 11:46:34 -07:00
thedarkcolour
06336a40d8
Choose default JarJar mod file type based on parent JAR Closes #9939
2024-06-14 09:50:05 -07:00
Daniel Norris
5505e472aa
Prevent the @OnlyIn being misused on @EventBusSubscriber and @Mod annotated classes ( #9891 )
2024-05-30 23:51:09 +01:00
LexManos
dffa3dd4c9
Ignore jar files in the mods folder that are not Forge mods. Closes #9968
2024-05-12 03:36:22 -07:00
LexManos
0cad6b14d9
Filter paths discovered by ServiceProvider in ClasspathLocator. Closes #9899
2024-05-09 09:39:25 -07:00
7b782e5b05
1.20.6 Initial Update
...
New Decompiler
Runtime Official mappings
ItemStacks arnt Capability providers anymore, use Vanilla's system.
Co-authored-by: RealMangoRage <64402114+RealMangorage@users.noreply.github.com >
Co-authored-by: Paint_Ninja <PaintNinja@users.noreply.github.com >
2024-04-30 11:42:52 -07:00
Paint_Ninja
e1fa61080a
Make non-Forge mods.toml detection more robust ( #9935 )
2024-04-25 22:36:56 +01:00
Paint_Ninja
11ed2500a6
Fix edge-case regression with single-jar multiloader mods ( #9931 )
2024-04-19 21:38:57 +01:00
Paint_Ninja
e0dccae041
Improve mod loading errors ( #9870 )
2024-04-18 20:02:41 +01:00
Paint_Ninja
e7a5c58907
Early display fixes/workarounds for buggy drivers ( #9921 )
2024-04-18 20:02:18 +01:00
LexManos
7113701322
Bump Bootstrap
2024-03-18 17:45:58 -07:00
Paint_Ninja
099d121c2c
[1.20.4] Add CPU usage config option to early window, hide it by default ( #9866 )
2024-03-10 21:10:06 +00:00
LexManos
d21556a4da
Update licenser plugin, and re-run it. Closes #9855
2024-01-29 12:27:45 -08:00
Paint_Ninja
a4c26c9b2b
[1.20.x] More buildscript clean-up ( #9845 )
2024-01-19 20:54:15 +00:00
LexManos
817e20821d
Only add sorted/deduplicated mods to the classpath.
...
Fixes some mods causing the Forge error displays to break. Closes #9833
2024-01-02 12:51:57 -08:00
Paint_Ninja
8445f73b2d
Add clientSideOnly feature to mods.toml ( #9804 )
2023-12-11 13:10:33 -08:00
Paint_Ninja
c7446a5180
Add impl. of IModFileInfo#showAsDataPack ( #9802 )
2023-12-11 13:08:50 -08:00
LexManos
5c15aa3322
Get rid of LibraryFinder
2023-12-11 12:27:23 -08:00
LexManos
6f9f0f0cfa
Revive executable jars for the dedicated server
...
This has a minor change to development time build scripts. So developers, check the MDK
2023-12-06 10:33:58 -08:00
Paint_Ninja
a27405b8d1
Improve mod description formatting in mods screen ( #9768 )
2023-11-02 10:53:17 -07:00
LexManos
e34090c809
Buildscript cleanup and organization.
...
Updated to use newer libraries that reduce the command line arguments needed to run the game.
Fix issues in the SecureModule's classloader that caused resources to not be seen when they are on parent module layers.
2023-10-24 16:24:13 -07:00
LexManos
9cd73c84a6
More buildscript work
...
Fixed ignoreList for client and server.
Lazy configured a few more tasks
Fixed early loading screen hardcoded names.. why?
2023-10-07 12:41:16 -07:00
LexManos
90dafb0df0
Rewrite our GameTest hooks to be sane.
...
Add game test to GlobalLootModifierTest which validates the smelting modifiers.
Removed FakePlayer system, it's broken and needs a major rewrite.
2023-10-06 21:01:02 -07:00
LexManos
aff05a4cf3
Cleanup FMLLoader and Launch Handlers.
...
Cleanup some of the build.gradle
Start work on restructuring test mods. They are now treated as their own jars, as well as having their mods.toml auto-generated. No more mods.toml conflicts!
Add pattern matching support to Data run modlist.
2023-10-06 21:01:01 -07:00
Paint_Ninja and embeddedt
374dbc7a4b
Optimise path filter in mod loading ( #9710 )
...
Co-authored-by: embeddedt <42941056+embeddedt@users.noreply.github.com >
2023-09-28 14:26:43 -07:00
LexManos
05c88ae33a
Some BackgroundScanHandler code cleanup. Closes #9713
2023-09-27 23:08:50 -07:00
LexManos
084effdadf
1.20.2-pre3
2023-09-12 12:34:59 -07:00