-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
95 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
Common/src/testmod/resources/assets/sparkweave-testmod/lang/en_us.json
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
Common/src/testmod/resources/assets/sparkweave_testmod/lang/en_us.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"itemGroup.sparkweave_testmod.items": "TestMod Items", | ||
"item.sparkweave_testmod.test_item": "Test Item" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
NeoForge/src/testmod/java/dev/upcraft/sparkweave/testmod/neoforge/entrypoint/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package dev.upcraft.sparkweave.testmod.neoforge.entrypoint; | ||
|
||
import dev.upcraft.sparkweave.testmod.SparkweaveTestmod; | ||
import net.neoforged.fml.common.Mod; | ||
|
||
@Mod(SparkweaveTestmod.MODID) | ||
public class Main { | ||
|
||
public Main() { | ||
SparkweaveTestmod.init(); | ||
} | ||
} |
5 changes: 5 additions & 0 deletions
5
NeoForge/src/testmod/java/dev/upcraft/sparkweave/testmod/neoforge/package-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
@Mod.Context(SparkweaveTestmod.MODID) | ||
package dev.upcraft.sparkweave.testmod.neoforge; | ||
|
||
import dev.upcraft.sparkweave.api.annotation.Mod; | ||
import dev.upcraft.sparkweave.testmod.SparkweaveTestmod; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
modLoader = "javafml" #mandatory | ||
loaderVersion = "*" #mandatory | ||
license = "${license_url}" # Review your options at https://choosealicense.com/. | ||
issueTrackerURL = "${issues_url}" #optional | ||
sourcesUrl = "${sources_url}" # custom property that we parse ourselves | ||
|
||
[[mods]] #mandatory | ||
modId = "${mod_id}_testmod" #mandatory | ||
version = "${version}" #mandatory | ||
displayName = "${mod_display_name} Testmod" #mandatory | ||
displayURL = "${homepage_url}" #optional (displayed in the mod UI) | ||
logoFile = "assets/${mod_id}_testmod/icon.png" #optional | ||
#credits = "" #optional | ||
authors = "Up" #optional | ||
description = '''Testmod for ${mod_display_name}''' #mandatory (Supports multiline text) | ||
|
||
# https://docs.neoforged.net/docs/gettingstarted/modfiles#dependency-configurations | ||
[dependencies] | ||
"${mod_id}_testmod" = [ | ||
{ modId = "neoforge", mandatory = true, versionRange = "*", ordering = "NONE", side = "BOTH", mc-publish = { ignore = true } }, | ||
{ modId = "minecraft", mandatory = true, versionRange = "[${minecraft_version}]", ordering = "NONE", side = "BOTH" }, | ||
{ modid = "${mod_id}", mandatory = true, versionRange = "[${version}]" }, | ||
{ modId = "resourcefulconfig", mandatory = true, versionRange = "*", ordering = "NONE", side = "BOTH", mc-publish = { curseforge = "714059", modrinth = "M1953qlQ" } }, | ||
] | ||
|
||
# Features are specific properties of the game environment, that you may want to declare you require. This example declares | ||
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't | ||
# stop your mod loading on the server for example. | ||
#[features.${mod_id}_testmod] | ||
#openGLVersion="[3.2,)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"pack": { | ||
"description": { | ||
"text": "${mod_display_name} TestMod resources" | ||
}, | ||
"pack_format": 15 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ loom { | |
sourceSet("main") | ||
} | ||
|
||
"${mod_id}-testmod" { | ||
"${mod_id}_testmod" { | ||
sourceSet("testmod") | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters