diff --git a/assets/banner_game.png b/assets/banner_game.png new file mode 100644 index 0000000..ff365e3 Binary files /dev/null and b/assets/banner_game.png differ diff --git a/assets/banner_warm.png b/assets/banner_warm.png index f4cb013..aa12913 100644 Binary files a/assets/banner_warm.png and b/assets/banner_warm.png differ diff --git a/build.gradle b/build.gradle index 2a9b55b..62e8946 100644 --- a/build.gradle +++ b/build.gradle @@ -61,7 +61,7 @@ dependencies { // Get properties into the manifest for reading by the runtime.. jar { - from sourceSets.main.output + from './assets/banner_game.png' manifest { attributes([ "Specification-Title": project.modId, diff --git a/gradle.properties b/gradle.properties index 7f969bd..6bdde79 100644 --- a/gradle.properties +++ b/gradle.properties @@ -4,7 +4,7 @@ org.gradle.jvmargs=-Xmx3G org.gradle.daemon=false modId=cocolib -modVersion=0.2.0 +modVersion=0.2.1 groupName=yooksi minecraftVersion=1.15.2 diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 632becc..be9f292 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -6,19 +6,26 @@ modLoader="javafml" loaderVersion="[31,)" # A list of mods - how many allowed here is determined by the individual mod loader [[mods]] -# A URL to refer people to when problems occur with this mod -issueTrackerURL="https://github.com/yooksi/cocolib/issues" -# The modid of the mod -modId="cocolib" -# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it -version="${version}" - # A display name for the mod -displayName="CocoLib" -# A URL for the "homepage" for this mod, displayed in the mod UI -displayURL="https://github.com/yooksi/cocolib" -# A text field displayed in the mod UI -credits="Thanks to Java and Forge team" -# A text field displayed in the mod UI -authors="yooksi" -# The description text for the mod (multi line!) -description='''Simple Minecraft modding library.''' + issueTrackerURL="https://github.com/yooksi/cocolib/issues" + modId="cocolib" + version="${version}" + displayName="CocoLib" + displayURL="https://github.com/yooksi/cocolib" + credits="Thanks to Java and Forge team" + authors="yooksi & Coco" + logoFile="banner_game.png" + description='''Simple Minecraft modding library.''' + +[[dependencies.cocolib]] + modId="forge" + mandatory=true + versionRange="[31.2.0,)" + ordering="NONE" + side="BOTH" + +[[dependencies.cocolib]] + modId="minecraft" + mandatory=true + versionRange="[1.15.2]" + ordering="NONE" + side="BOTH" diff --git a/src/test/resources/META-INF/mods.toml b/src/test/resources/META-INF/mods.toml index bd5c954..9ae892b 100644 --- a/src/test/resources/META-INF/mods.toml +++ b/src/test/resources/META-INF/mods.toml @@ -1,16 +1,8 @@ # The overall format is standard TOML format, v0.5.0. -# Find more information on toml format here: https://github.com/toml-lang/toml -# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml modLoader="javafml" -# A version range to match for said mod loader - for regular FML @Mod it will be the forge version loaderVersion="[31,)" -# A list of mods - how many allowed here is determined by the individual mod loader [[mods]] -# The modid of the mod -modId="cocolib" -# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it -version="${version}" - # A display name for the mod -displayName="CocoLib" -# The description text for the mod (multi line!) -description='''Simple Minecraft modding library.''' + modId="cocolib" + version="${version}" + displayName="CocoLib" + description='''Simple Minecraft modding library.'''