Skip to content

Commit

Permalink
Update mod metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
matshou committed May 19, 2020
2 parents 08edc56 + 9c1d9c4 commit 02745ad
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 30 deletions.
Binary file added assets/banner_game.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/banner_warm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
39 changes: 23 additions & 16 deletions src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
16 changes: 4 additions & 12 deletions src/test/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
@@ -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.'''

0 comments on commit 02745ad

Please sign in to comment.