- fix: NullPointerException when the config class of mod updated

- alter: better test code in `common/src/test`, `neoforge/src/test` and `fabric/src/test`, run `Test Minecraft Client(:fabric)` or `Test Minecraft Client(:neoforge)` for testing
This commit is contained in:
Jaffe2718
2025-09-11 11:48:26 +08:00
parent 78c462dc1c
commit c775a9d221
18 changed files with 167 additions and 62 deletions

View File

@@ -0,0 +1,34 @@
modLoader = "javafml"
loaderVersion = "[2,)"
#issueTrackerURL = ""
license = "MIT License"
[[mods]]
modId = "modid"
version = "${version}"
displayName = "MidnightLib Test Mod"
authors = "TeamMidnightDust, Motschen"
description = '''
Example Mod for Team MidnightDust's mods.
'''
[[dependencies.modid]]
modId = "neoforge"
mandatory = true
versionRange = "[20.5,)"
ordering = "NONE"
side = "BOTH"
[[dependencies.modid]]
modId = "minecraft"
mandatory = true
versionRange = "[1.20.5,)"
ordering = "NONE"
side = "BOTH"
[[dependencies.modid]]
modId = "midnightlib"
mandatory = true
versionRange = "[1.0,)"
ordering = "NONE"
side = "BOTH"