Release 1.0
This commit is contained in:
parent
cb715beaf3
commit
1283ede9d4
19
build.gradle
19
build.gradle
|
|
@ -8,7 +8,6 @@ version = '1.0'
|
|||
group = 'vip.fubuki.PlayerSync' // http://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
archivesBaseName = 'playersync'
|
||||
|
||||
// Mojang ships Java 17 to end users in 1.18+, so your mod should target Java 17.
|
||||
java.toolchain.languageVersion = JavaLanguageVersion.of(17)
|
||||
|
||||
println "Java: ${System.getProperty 'java.version'}, JVM: ${System.getProperty 'java.vm.version'} (${System.getProperty 'java.vendor'}), Arch: ${System.getProperty 'os.arch'}"
|
||||
|
|
@ -49,10 +48,10 @@ minecraft {
|
|||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
// Comma-separated list of namespaces to load gametests from. Empty = all namespaces.
|
||||
property 'forge.enabledGameTestNamespaces', 'examplemod'
|
||||
property 'forge.enabledGameTestNamespaces', 'playersync'
|
||||
|
||||
mods {
|
||||
examplemod {
|
||||
playsersync {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
|
@ -65,10 +64,10 @@ minecraft {
|
|||
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
property 'forge.enabledGameTestNamespaces', 'examplemod'
|
||||
property 'forge.enabledGameTestNamespaces', 'playersync'
|
||||
|
||||
mods {
|
||||
examplemod {
|
||||
playersync {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
|
@ -84,13 +83,13 @@ minecraft {
|
|||
|
||||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
property 'forge.enabledGameTestNamespaces', 'examplemod'
|
||||
property 'forge.enabledGameTestNamespaces', 'playersync'
|
||||
|
||||
property 'mixin.env.remapRefMap', 'true'
|
||||
property 'mixin.env.refMapRemappingFile', "${buildDir}/createSrgToMcp/output.srg"
|
||||
|
||||
mods {
|
||||
examplemod {
|
||||
playersync {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
|
@ -104,10 +103,10 @@ minecraft {
|
|||
property 'forge.logging.console.level', 'debug'
|
||||
|
||||
// Specify the modid for data generation, where to output the resulting resource, and where to look for existing resources.
|
||||
args '--mod', 'examplemod', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||
args '--mod', 'playersync', '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||
|
||||
mods {
|
||||
examplemod {
|
||||
playersync{
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
|
|
@ -148,7 +147,7 @@ dependencies {
|
|||
jar {
|
||||
manifest {
|
||||
attributes([
|
||||
"Specification-Title" : "examplemod",
|
||||
"Specification-Title" : "playersync",
|
||||
"Specification-Vendor" : "examplemodsareus",
|
||||
"Specification-Version" : "1", // We are version 1 of ourselves
|
||||
"Implementation-Title" : project.name,
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ modId="playersync" #mandatory
|
|||
# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it
|
||||
# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata
|
||||
# see the associated build.gradle script for how to populate this completely automatically during a build
|
||||
version="${file.jarVersion}" #mandatory
|
||||
version="1.0" #mandatory
|
||||
# A display name for the mod
|
||||
displayName="PlayerSync" #mandatory
|
||||
# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user