Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -158,9 +158,9 @@ configurations {
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"

implementation 'thedarkcolour:kotlinforforge-neoforge:5.6.0'
implementation "thedarkcolour:kotlinforforge-neoforge:$kotlin_for_forge_version"

implementation "maven.modrinth:ex-deorum:3.6"
implementation "maven.modrinth:ex-deorum:$exdeorum_version"

implementation "curse.maven:probejs-585406:5820894"

Expand Down
6 changes: 4 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ loader_version_range=[1,)


kubejs_version=2101.7.1-build.181
kotlin_for_forge_version=5.7.0
exdeorum_version=3.6

## Mod Properties

Expand All @@ -35,9 +37,9 @@ mod_id=toolsjs
# The human-readable display name for the mod.
mod_name=ToolsJS
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
mod_license=All Rights Reserved
mod_license=CC BY-NC-SA 4.0
# The mod version. See https://semver.org/
mod_version=1.0.0
mod_version=0.1.0
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
# This should match the base package used for the mod sources.
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
Expand Down
25 changes: 19 additions & 6 deletions src/main/templates/META-INF/neoforge.mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ loaderVersion="[5.6,)"
license="${mod_license}"

# A URL to refer people to when problems occur with this mod
#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional
issueTrackerURL="https://github.com/Bluemethyst/ToolsJS/issues" #optional

# A list of mods - how many allowed here is determined by the individual mod loader
[[mods]] #mandatory
Expand All @@ -28,16 +28,16 @@ version="${mod_version}" #mandatory
displayName="${mod_name}" #mandatory

# A URL to query for updates for this mod. See the JSON update specification https://docs.neoforged.net/docs/misc/updatechecker/
#updateJSONURL="https://change.me.example.invalid/updates.json" #optional
updateJSONURL="https://github.com/Bluemethyst/ToolsJS/blob/1.21.1/update.json" #optional

# A URL for the "homepage" for this mod, displayed in the mod UI
#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional
displayURL="https://modrinth.com/mods/toolsjs/" #optional

# A file name (in the root of the mod JAR) containing a logo for display
#logoFile="examplemod.png" #optional
logoFile="icon.png" #optional

# A text field displayed in the mod UI
#credits="" #optional
credits="BlakeBr0, FooterManDev, TheDarkColour" #optional

# A text field displayed in the mod UI
authors="${mod_authors}" #optional
Expand Down Expand Up @@ -79,11 +79,24 @@ description='''${mod_description}'''
[[dependencies.${mod_id}]]
modId="minecraft"
type="required"
# This version range declares a minimum of the current minecraft version up to but not including the next major version
versionRange="${minecraft_version_range}"
ordering="NONE"
side="BOTH"

[[dependencies.${mod_id}]]
modId="kotlinforforge"
type="required"
versionRange="[5.7.0,)"
ordering="NONE"
side="BOTH"

[[dependencies.${mod_id}]]
modId="exdeorum"
type="optional"
versionRange="[3.6,)"
ordering="NONE"
side="BOTH"

[modproperties.${mod_id}]
catalogueImageIcon="icon.png"
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
Expand Down
10 changes: 10 additions & 0 deletions update.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"homepage": "https://modrinth.net/mods/toolsjs",
"promos": {
"1.21.1-latest": "0.1.0",
"1.21.1-recommended": "0.1.0"
},
"1.21.1": {
"0.1.0": "Inital Beta Release"
}
}
Loading