Skip to content

Commit 2eb618f

Browse files
Change modid to essential_partner_mod
At some point forge/neoforge stops allowing hyphens
1 parent b02e5d8 commit 2eb618f

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/main/java/gg/essential/partnermod/EssentialPartnerMod.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
import net.minecraftforge.fml.common.Mod;
1010

1111
//#if MC>=11600
12-
//$$ @Mod("essential-partner-mod")
12+
//$$ @Mod("essential_partner_mod")
1313
//#else
14-
@Mod(modid = "essential-partner-mod")
14+
@Mod(modid = "essential_partner_mod")
1515
//#endif
1616
//#endif
1717
public class EssentialPartnerMod {

src/main/java/gg/essential/partnermod/Resources.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static ResourceLocation load(InputStream is) {
5454
return MISSINGNO;
5555
}
5656
//#endif
57-
ResourceLocation location = UMinecraft.identifier("essentialad", "texture/" + counter.getAndIncrement());
57+
ResourceLocation location = UMinecraft.identifier("essential_partner_mod", "texture/" + counter.getAndIncrement());
5858
//#if MC>=12105
5959
//$$ NativeImageBackedTexture texture = new NativeImageBackedTexture(location::toString, image);
6060
//#else

src/main/resources/META-INF/mods.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ loaderVersion="[33,)"
33
license="All rights reserved"
44

55
[[mods]]
6-
modId="essential-partner-mod"
6+
modId="essential_partner_mod"
77
version="${file.jarVersion}"
88
displayName="Essential Partner Mod Integration"
99
displayURL="https://essential.gg/"
1010
description="<replace me>"
1111

12-
[[dependencies.essential-partner-mod]]
12+
[[dependencies.essential_partner_mod]]
1313
modId="forge"
1414
mandatory=true
1515
versionRange="[33,)"

src/main/resources/fabric.mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": 1,
3-
"id": "essential-partner-mod",
3+
"id": "essential_partner_mod",
44
"version": "${version}",
55
"environment": "client",
66
"mixins": [

src/main/resources/mcmod.info

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"modid": "essential-partner-mod",
3+
"modid": "essential_partner_mod",
44
"name": "Essential Partner Mod Integration",
55
"description": "<replace me>",
66
"version": "${version}",

0 commit comments

Comments
 (0)