This commit is contained in:
Skye 2023-08-21 21:37:38 +09:00
parent 66247df95d
commit 8a681524b2
Signed by: me
GPG key ID: 0104BC05F41B77B8
4 changed files with 22 additions and 22 deletions

View file

@ -3,5 +3,5 @@ org.gradle.jvmargs=-Xmx2G
mod.name=e4mc mod.name=e4mc
mod.id=e4mc_minecraft mod.id=e4mc_minecraft
mod.version=4.0.0 mod.version=4.0.1
mod.group=vg.skye mod.group=vg.skye

View file

@ -33,7 +33,7 @@ object E4mcClient : ModInitializer {
//#endif //#endif
const val NAME = "e4mc" const val NAME = "e4mc"
const val ID = "e4mc_minecraft" const val ID = "e4mc_minecraft"
const val VERSION = "4.0.0" const val VERSION = "4.0.1"
@JvmField @JvmField
val LOGGER: Logger = LoggerFactory.getLogger("e4mc") val LOGGER: Logger = LoggerFactory.getLogger("e4mc")
@JvmField @JvmField

View file

@ -20,6 +20,6 @@ side="BOTH"
[[dependencies.${mod_id}]] [[dependencies.${mod_id}]]
modId="minecraft" modId="minecraft"
mandatory=true mandatory=true
versionRange="${mc_version == "1.19.4" ? "[1.19,)" : "[1.17,1.19)"}" versionRange="${mc_version == "1.19.4" ? "[1.19,)" : "[1.18,1.19)"}"
ordering="NONE" ordering="NONE"
side="BOTH" side="BOTH"

View file

@ -35,12 +35,12 @@ java {
toolkitReleases { toolkitReleases {
gameVersions.set(when (mcData.version) { gameVersions.set(when (mcData.version) {
11904 -> listOf("1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4") 11904 -> listOf("1.19", "1.19.1", "1.19.2", "1.19.3", "1.19.4", "1.20", "1.20.1")
11802 -> listOf("1.17", "1.17.1", "1.18", "1.18.1", "1.18.2") 11802 -> listOf("1.18", "1.18.1", "1.18.2")
else -> listOf() else -> listOf()
}) })
releaseName.set("[${when (mcData.version) { releaseName.set("[${when (mcData.version) {
11904 -> "1.19-" 11904 -> "1.18.x"
11802 -> "1.17-1.18.2" 11802 -> "1.17-1.18.2"
else -> mcData.versionStr else -> mcData.versionStr
}}] [${mcData.loader.name.capitalized()}] ${modData.version}") }}] [${mcData.loader.name.capitalized()}] ${modData.version}")
@ -109,23 +109,23 @@ dependencies {
implementation("thedarkcolour:kotlinforforge:3.8.0") implementation("thedarkcolour:kotlinforforge:3.8.0")
} }
bundle(implementation("com.github.vgskye.netty-incubator-codec-quic:netty-incubator-codec-classes-quic:03cbd5c2c4") { bundle(implementation("com.github.vgskye.netty-incubator-codec-quic:netty-incubator-codec-classes-quic:57a52c4") {
exclude(group = "io.netty") exclude(group = "io.netty")
}) })
// bundle(implementation("io.netty.incubator:netty-incubator-codec-classes-quic:0.0.47.Final")!!) // bundle(implementation("io.netty.incubator:netty-incubator-codec-classes-quic:0.0.47.Final")!!)
bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:linux-x86_64") { // bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:linux-x86_64") {
exclude(group = "io.netty") // exclude(group = "io.netty")
}) // })
bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:windows-x86_64") { // bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:windows-x86_64") {
exclude(group = "io.netty") // exclude(group = "io.netty")
}) // })
bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:osx-x86_64") { // bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:osx-x86_64") {
exclude(group = "io.netty") // exclude(group = "io.netty")
}) // })
bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:linux-aarch_64") { // bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:linux-aarch_64") {
exclude(group = "io.netty") // exclude(group = "io.netty")
}) // })
bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:osx-aarch_64") { // bundle(implementation("io.netty.incubator:netty-incubator-codec-native-quic:0.0.48.Final:osx-aarch_64") {
exclude(group = "io.netty") // exclude(group = "io.netty")
}) // })
} }