From 11ac8f209ee601e3deffa4ffa969e9a277f611d0 Mon Sep 17 00:00:00 2001 From: Yang Seong Mo Date: Wed, 4 Dec 2024 17:35:18 +0900 Subject: [PATCH 1/3] Bump Fabric 1.21.4 --- .../toxicity/hud/bootstrap/fabric/FabricBootstrapImpl.kt | 4 ++-- .../hud/bootstrap/velocity/VelocityBootstrapImpl.kt | 4 ++-- build.gradle.kts | 4 ++-- gradle.properties | 8 ++++---- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/bootstrap/fabric/src/main/kotlin/kr/toxicity/hud/bootstrap/fabric/FabricBootstrapImpl.kt b/bootstrap/fabric/src/main/kotlin/kr/toxicity/hud/bootstrap/fabric/FabricBootstrapImpl.kt index 10e964b5..a83d24f5 100644 --- a/bootstrap/fabric/src/main/kotlin/kr/toxicity/hud/bootstrap/fabric/FabricBootstrapImpl.kt +++ b/bootstrap/fabric/src/main/kotlin/kr/toxicity/hud/bootstrap/fabric/FabricBootstrapImpl.kt @@ -242,9 +242,9 @@ class FabricBootstrapImpl : FabricBootstrap, DedicatedServerModInitializer { } - override fun minecraftVersion(): String = "1.21.3" + override fun minecraftVersion(): String = "1.21.4" - override fun mcmetaVersion(): Int = 42 + override fun mcmetaVersion(): Int = 46 private val uuidMap = ConcurrentHashMap() diff --git a/bootstrap/velocity/src/main/kotlin/kr/toxicity/hud/bootstrap/velocity/VelocityBootstrapImpl.kt b/bootstrap/velocity/src/main/kotlin/kr/toxicity/hud/bootstrap/velocity/VelocityBootstrapImpl.kt index 582452f3..8eae5b3d 100644 --- a/bootstrap/velocity/src/main/kotlin/kr/toxicity/hud/bootstrap/velocity/VelocityBootstrapImpl.kt +++ b/bootstrap/velocity/src/main/kotlin/kr/toxicity/hud/bootstrap/velocity/VelocityBootstrapImpl.kt @@ -233,8 +233,8 @@ class VelocityBootstrapImpl @Inject constructor( } } - override fun minecraftVersion(): String = "1.21.3" - override fun mcmetaVersion(): Int = 42 + override fun minecraftVersion(): String = "1.21.4" + override fun mcmetaVersion(): Int = 46 override fun useLegacyFont(): Boolean = false override fun world(name: String): WorldWrapper? = null diff --git a/build.gradle.kts b/build.gradle.kts index 00889874..e06e3194 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -175,7 +175,7 @@ fun Project.dependency(any: Any) = also { } } } -fun Project.bukkit() = dependency("org.spigotmc:spigot-api:$minecraft-R0.1-SNAPSHOT") +fun Project.bukkit() = dependency("org.spigotmc:spigot-api:1.21.3-R0.1-SNAPSHOT") .dependency("org.bstats:bstats-bukkit:$bStats") .dependency(rootProject.fileTree("shaded")) fun Project.velocity() = also { @@ -185,7 +185,7 @@ fun Project.velocity() = also { it.dependencies.compileOnly("com.velocitypowered:velocity-proxy:$velocity-SNAPSHOT") it.dependencies.annotationProcessor("com.velocitypowered:velocity-api:$velocity-SNAPSHOT") } -fun Project.folia() = dependency("io.papermc.paper:paper-api:$minecraft-R0.1-SNAPSHOT") +fun Project.folia() = dependency("io.papermc.paper:paper-api:1.21.3-R0.1-SNAPSHOT") fun Project.adventure() = dependency("net.kyori:adventure-api:$adventure") .dependency("net.kyori:adventure-text-minimessage:$adventure") .dependency("net.kyori:adventure-text-serializer-legacy:$adventure") diff --git a/gradle.properties b/gradle.properties index 82b64b0c..607247ea 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,13 +3,13 @@ org.gradle.jvmargs=-Xmx16384M -Dfile.encoding=UTF-8 org.gradle.caching=true org.gradle.parallel=true -paperVersion=1.18.2-1.21.3 +paperVersion=1.18.2-1.21.4 velocityVersion=3.4 -minecraft_version=1.21.3 -yarn_mappings=1.21.3+build.2 +minecraft_version=1.21.4 +yarn_mappings=1.21.4+build.1 loader_version=0.16.9 -fabric_version=0.106.1+1.21.3 +fabric_version=0.110.5+1.21.4 org.jetbrains.dokka.experimental.gradle.pluginMode=V2Enabled org.jetbrains.dokka.experimental.gradle.pluginMode.noWarn=true \ No newline at end of file From 33a67d5df551ee8dadd29260afc7d0c33ffbc06e Mon Sep 17 00:00:00 2001 From: Yang Seong Mo Date: Thu, 5 Dec 2024 17:30:02 +0900 Subject: [PATCH 2/3] Bump Bukkit 1.21.4 --- .idea/gradle.xml | 1 + BANNER.md | 4 +- README.md | 25 +- bootstrap/bukkit/build.gradle.kts | 10 +- .../bootstrap/bukkit/BukkitBootstrapImpl.kt | 1 + build.gradle.kts | 12 +- changelog/1.10.md | 1 + nms/v1_21_R3/build.gradle.kts | 3 + .../kr/toxicity/hud/nms/v1_21_R3/NMSImpl.kt | 520 ++++++++++++++++++ settings.gradle.kts | 1 + 10 files changed, 564 insertions(+), 14 deletions(-) create mode 100644 nms/v1_21_R3/build.gradle.kts create mode 100644 nms/v1_21_R3/src/main/kotlin/kr/toxicity/hud/nms/v1_21_R3/NMSImpl.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index ddc82a66..78e31774 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -32,6 +32,7 @@