chore: update to 1.21
This commit is contained in:
parent
de00f51b06
commit
fa5aa9edf9
|
@ -16,11 +16,11 @@ base.archivesName = "breakme"
|
|||
|
||||
// https://fabricmc.net/develop/
|
||||
jfMod {
|
||||
minecraftVersion = "1.20.5"
|
||||
minecraftVersion = "1.21"
|
||||
yarn("build.1")
|
||||
loaderVersion = "0.15.10"
|
||||
libJfVersion = "3.15.5"
|
||||
fabricApiVersion = "0.97.6+1.20.5"
|
||||
loaderVersion = "0.15.11"
|
||||
libJfVersion = "3.16.0"
|
||||
fabricApiVersion = "0.100.1+1.21"
|
||||
|
||||
modrinth {
|
||||
projectId = "breakme"
|
||||
|
@ -43,7 +43,7 @@ dependencies {
|
|||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-devutil")
|
||||
modLocalRuntime("io.gitlab.jfronny.libjf:libjf-config-ui-tiny")
|
||||
modLocalRuntime("net.fabricmc.fabric-api:fabric-api")
|
||||
modLocalRuntime("com.terraformersmc:modmenu:10.0.0-beta.1")
|
||||
modLocalRuntime("com.terraformersmc:modmenu:11.0.0-beta.1")
|
||||
}
|
||||
|
||||
loom {
|
||||
|
@ -52,7 +52,7 @@ loom {
|
|||
}
|
||||
}
|
||||
|
||||
fun list(`package`: String) = Files.list(projectDir.resolve("src/main/java").resolve(`package`.replace('.', '/')).toPath()).use { stream ->
|
||||
fun list(`package`: String): List<ClassName> = Files.list(projectDir.resolve("src/main/java").resolve(`package`.replace('.', '/')).toPath()).use { stream ->
|
||||
stream
|
||||
.map { it.fileName.toString() }
|
||||
.map { it.substring(0, it.lastIndexOf('.')) }
|
||||
|
|
Loading…
Reference in New Issue
Block a user