mirror of
https://github.com/TeamMidnightDust/MidnightLib.git
synced 2025-12-18 02:05:09 +01:00
Unify the test mod ID
This commit is contained in:
@@ -43,7 +43,7 @@ loom {
|
||||
create('midnightlib') {
|
||||
sourceSet sourceSets.main
|
||||
}
|
||||
create('testmod') {
|
||||
create('modid') { // test mod
|
||||
sourceSet sourceSets.test
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,9 +3,10 @@ package eu.midnightdust.test.neoforge;
|
||||
import eu.midnightdust.test.config.MidnightConfigExample;
|
||||
import net.neoforged.fml.common.Mod;
|
||||
|
||||
@Mod("testmod")
|
||||
@Mod(MLExampleNeoForge.MODID)
|
||||
public class MLExampleNeoForge {
|
||||
public static final String MODID = "modid";
|
||||
public MLExampleNeoForge() {
|
||||
MidnightConfigExample.init("modid", MidnightConfigExample.class);
|
||||
MidnightConfigExample.init(MODID, MidnightConfigExample.class);
|
||||
}
|
||||
}
|
||||
@@ -4,29 +4,29 @@ loaderVersion = "[2,)"
|
||||
license = "MIT License"
|
||||
|
||||
[[mods]]
|
||||
modId = "testmod"
|
||||
modId = "modid"
|
||||
version = "${version}"
|
||||
displayName = "Example Mod"
|
||||
displayName = "MidnightLib Test Mod"
|
||||
authors = "TeamMidnightDust, Motschen"
|
||||
description = '''
|
||||
Example Mod for Team MidnightDust's mods.
|
||||
'''
|
||||
|
||||
[[dependencies.testmod]]
|
||||
[[dependencies.modid]]
|
||||
modId = "neoforge"
|
||||
mandatory = true
|
||||
versionRange = "[20.5,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.testmod]]
|
||||
[[dependencies.modid]]
|
||||
modId = "minecraft"
|
||||
mandatory = true
|
||||
versionRange = "[1.20.5,)"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
[[dependencies.testmod]]
|
||||
[[dependencies.modid]]
|
||||
modId = "midnightlib"
|
||||
mandatory = true
|
||||
versionRange = "[1.0,)"
|
||||
|
||||
Reference in New Issue
Block a user