mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 16:54:22 +00:00
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/
This commit is contained in:
28 files changed
+641
-98
No files matched your search
@@ -182,10 +182,10 @@ public class ForgeGameTestHooks {
|
||||
var batch = func.batchName();
|
||||
classes.add(batch);
|
||||
|
||||
int idx = batch.indexOf('.');
|
||||
int idx = batch.lastIndexOf('.');
|
||||
while (idx != -1) {
|
||||
batch = batch.substring(0, idx);
|
||||
idx = batch.indexOf('.');
|
||||
idx = batch.lastIndexOf('.');
|
||||
classes.add(batch);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user