调整gradle中neoforge版本
This commit is contained in:
parent
848404872c
commit
3535d17d1a
3 changed files with 8 additions and 7 deletions
|
@ -1,9 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'idea'
|
id 'idea'
|
||||||
|
|
||||||
id 'java-library'
|
id 'java-library'
|
||||||
id 'maven-publish'
|
id 'maven-publish'
|
||||||
id 'net.neoforged.moddev' version '1.0.21'
|
id 'net.neoforged.moddev' version '2.0.80'
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.named('wrapper', Wrapper).configure {
|
tasks.named('wrapper', Wrapper).configure {
|
||||||
|
@ -48,7 +47,7 @@ neoForge {
|
||||||
}
|
}
|
||||||
|
|
||||||
// This line is optional. Access Transformers are automatically detected
|
// This line is optional. Access Transformers are automatically detected
|
||||||
// accessTransformers = project.files('src/main/resources/META-INF/accesstransformer.cfg')
|
accessTransformers = project.files('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
|
|
||||||
// Default run configurations.
|
// Default run configurations.
|
||||||
// These can be tweaked, removed, or duplicated as needed.
|
// These can be tweaked, removed, or duplicated as needed.
|
||||||
|
@ -219,7 +218,6 @@ tasks.named('createMinecraftArtifacts') {
|
||||||
dependsOn tasks.named('generateModMetadata')
|
dependsOn tasks.named('generateModMetadata')
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// IDEA no longer automatically downloads sources/javadoc jars for dependencies, so we need to explicitly enable the behavior.
|
// IDEA no longer automatically downloads sources/javadoc jars for dependencies, so we need to explicitly enable the behavior.
|
||||||
idea {
|
idea {
|
||||||
module {
|
module {
|
||||||
|
|
|
@ -5,12 +5,12 @@ org.gradle.caching=true
|
||||||
org.gradle.configuration-cache=true
|
org.gradle.configuration-cache=true
|
||||||
minecraft_version_range=[1.21.1,1.22)
|
minecraft_version_range=[1.21.1,1.22)
|
||||||
minecraft_version=1.21.1
|
minecraft_version=1.21.1
|
||||||
neo_version=21.1.77
|
neo_version=21.1.100
|
||||||
neo_version_range=[21.1.0,)
|
neo_version_range=[21.1.100,)
|
||||||
loader_version_range=[4,)
|
loader_version_range=[4,)
|
||||||
# The Minecraft version the Parchment version is for
|
# The Minecraft version the Parchment version is for
|
||||||
parchment_minecraft_version=1.21.1
|
parchment_minecraft_version=1.21.1
|
||||||
parchment_mappings_version=2024.11.13
|
parchment_mappings_version=2024.11.17
|
||||||
|
|
||||||
mod_id=superbwarfare
|
mod_id=superbwarfare
|
||||||
mod_name=Superb Warfare
|
mod_name=Superb Warfare
|
||||||
|
|
|
@ -42,3 +42,6 @@ versionRange = "[4.7.0,)"
|
||||||
ordering = "NONE"
|
ordering = "NONE"
|
||||||
side = "BOTH"
|
side = "BOTH"
|
||||||
|
|
||||||
|
[features.superbwarfare]
|
||||||
|
openGLVersion = "[3.2,)"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue