From 3cbf155d1069f289d5d0a09e440d75141682dafa Mon Sep 17 00:00:00 2001 From: Christopher Bohn Date: Sun, 8 Dec 2024 10:13:34 -0800 Subject: [PATCH] Update to 1.21.4 --- fabric/build.gradle.kts | 6 +++--- .../java/org/popcraft/chunkyborder/ChunkyBorderFabric.java | 2 +- fabric/src/main/resources/fabric.mod.json | 2 +- forge/build.gradle.kts | 4 ++-- .../java/org/popcraft/chunkyborder/ChunkyBorderForge.java | 2 +- forge/src/main/resources/META-INF/mods.toml | 4 ++-- neoforge/build.gradle.kts | 4 ++-- .../org/popcraft/chunkyborder/ChunkyBorderNeoForge.java | 2 +- neoforge/src/main/resources/META-INF/neoforge.mods.toml | 4 ++-- 9 files changed, 15 insertions(+), 15 deletions(-) diff --git a/fabric/build.gradle.kts b/fabric/build.gradle.kts index faf7ddd..ad63ab6 100644 --- a/fabric/build.gradle.kts +++ b/fabric/build.gradle.kts @@ -14,10 +14,10 @@ repositories { } dependencies { - minecraft(group = "com.mojang", name = "minecraft", version = "1.21.2") - mappings(group = "net.fabricmc", name = "yarn", version = "1.21.2+build.1", classifier = "v2") + minecraft(group = "com.mojang", name = "minecraft", version = "1.21.4") + mappings(group = "net.fabricmc", name = "yarn", version = "1.21.4+build.1", classifier = "v2") modImplementation(group = "net.fabricmc", name = "fabric-loader", version = "0.16.7") - modImplementation(group = "net.fabricmc.fabric-api", name = "fabric-api", version = "0.106.1+1.21.2") + modImplementation(group = "net.fabricmc.fabric-api", name = "fabric-api", version = "0.111.0+1.21.4") modImplementation(group = "org.popcraft", name = "chunky-fabric", version = "${project.property("target")}") compileOnly(group = "us.dynmap", name = "DynmapCoreAPI", version = "${project.property("target_dynmap")}") compileOnly(group = "com.github.BlueMap-Minecraft", name = "BlueMapAPI", version = "${project.property("target_bluemap")}") diff --git a/fabric/src/main/java/org/popcraft/chunkyborder/ChunkyBorderFabric.java b/fabric/src/main/java/org/popcraft/chunkyborder/ChunkyBorderFabric.java index 36cae64..5b64b06 100644 --- a/fabric/src/main/java/org/popcraft/chunkyborder/ChunkyBorderFabric.java +++ b/fabric/src/main/java/org/popcraft/chunkyborder/ChunkyBorderFabric.java @@ -109,7 +109,7 @@ private void startVisualizer() { && serverWorld.getBlockState(pos.south()).isOpaqueFullCube() && serverWorld.getBlockState(pos.west()).isOpaqueFullCube(); if (!fullyOccluded) { - serverWorld.spawnParticles(fabricPlayer, new DustParticleEffect(BorderColor.getColor(), 1f), false, location.getX(), location.getY(), location.getZ(), 1, 0d, 0d, 0d, 0d); + serverWorld.spawnParticles(fabricPlayer, new DustParticleEffect(BorderColor.getColor(), 1f), false, false, location.getX(), location.getY(), location.getZ(), 1, 0d, 0d, 0d, 0d); } } } diff --git a/fabric/src/main/resources/fabric.mod.json b/fabric/src/main/resources/fabric.mod.json index 83cb23a..69ccb7e 100644 --- a/fabric/src/main/resources/fabric.mod.json +++ b/fabric/src/main/resources/fabric.mod.json @@ -34,7 +34,7 @@ "depends": { "fabricloader": ">=0.16.7", "fabric": "*", - "minecraft": ">=1.21.2", + "minecraft": ">=1.21.4", "java": ">=21", "chunky": ">=${target}" }, diff --git a/forge/build.gradle.kts b/forge/build.gradle.kts index 2a238d4..25feeb5 100644 --- a/forge/build.gradle.kts +++ b/forge/build.gradle.kts @@ -14,9 +14,9 @@ repositories { } dependencies { - minecraft(group = "com.mojang", name = "minecraft", version = "1.21.3") + minecraft(group = "com.mojang", name = "minecraft", version = "1.21.4") mappings(loom.officialMojangMappings()) - forge(group = "net.minecraftforge", name = "forge", version = "1.21.3-53.0.0") + forge(group = "net.minecraftforge", name = "forge", version = "1.21.4-54.0.0") modImplementation(group = "org.popcraft", name = "chunky-forge", version = "${project.property("target")}") compileOnly(group = "us.dynmap", name = "DynmapCoreAPI", version = "${project.property("target_dynmap")}") compileOnly(group = "com.github.BlueMap-Minecraft", name = "BlueMapAPI", version = "${project.property("target_bluemap")}") diff --git a/forge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderForge.java b/forge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderForge.java index 5d9a921..b34b2b8 100644 --- a/forge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderForge.java +++ b/forge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderForge.java @@ -155,7 +155,7 @@ public void onServerTick(final TickEvent.ServerTickEvent event) { && serverLevel.getBlockState(pos.south()).isSolidRender() && serverLevel.getBlockState(pos.west()).isSolidRender(); if (!fullyOccluded) { - serverLevel.sendParticles(forgePlayer, new DustParticleOptions(BorderColor.getColor(), 1f), false, location.getX(), location.getY(), location.getZ(), 1, 0d, 0d, 0d, 0d); + serverLevel.sendParticles(forgePlayer, new DustParticleOptions(BorderColor.getColor(), 1f), false, false, location.getX(), location.getY(), location.getZ(), 1, 0d, 0d, 0d, 0d); } } } diff --git a/forge/src/main/resources/META-INF/mods.toml b/forge/src/main/resources/META-INF/mods.toml index 89a3830..8665ac4 100644 --- a/forge/src/main/resources/META-INF/mods.toml +++ b/forge/src/main/resources/META-INF/mods.toml @@ -13,13 +13,13 @@ description="${description}" [[dependencies.chunkyborder]] modId="forge" mandatory=true - versionRange="[53,)" + versionRange="[54,)" ordering="NONE" side="BOTH" [[dependencies.chunkyborder]] modId="minecraft" mandatory=true - versionRange="[1.21.2,1.22)" + versionRange="[1.21.4,1.22)" ordering="NONE" side="BOTH" [[dependencies.chunkyborder]] diff --git a/neoforge/build.gradle.kts b/neoforge/build.gradle.kts index 4c61915..8752a13 100644 --- a/neoforge/build.gradle.kts +++ b/neoforge/build.gradle.kts @@ -15,9 +15,9 @@ repositories { } dependencies { - minecraft(group = "com.mojang", name = "minecraft", version = "1.21.2") + minecraft(group = "com.mojang", name = "minecraft", version = "1.21.4") mappings(loom.officialMojangMappings()) - neoForge(group = "net.neoforged", name = "neoforge", version = "21.2.1-beta") + neoForge(group = "net.neoforged", name = "neoforge", version = "21.4.10-beta") modImplementation(group = "org.popcraft", name = "chunky-neoforge", version = "${project.property("target")}") compileOnly(group = "us.dynmap", name = "DynmapCoreAPI", version = "${project.property("target_dynmap")}") compileOnly(group = "com.github.BlueMap-Minecraft", name = "BlueMapAPI", version = "${project.property("target_bluemap")}") diff --git a/neoforge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderNeoForge.java b/neoforge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderNeoForge.java index 8fd90bf..44edb75 100644 --- a/neoforge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderNeoForge.java +++ b/neoforge/src/main/java/org/popcraft/chunkyborder/ChunkyBorderNeoForge.java @@ -146,7 +146,7 @@ public void onServerTick(final ServerTickEvent.Post event) { && serverLevel.getBlockState(pos.south()).isSolidRender() && serverLevel.getBlockState(pos.west()).isSolidRender(); if (!fullyOccluded) { - serverLevel.sendParticles(neoForgePlayer, new DustParticleOptions(BorderColor.getColor(), 1f), false, location.getX(), location.getY(), location.getZ(), 1, 0d, 0d, 0d, 0d); + serverLevel.sendParticles(neoForgePlayer, new DustParticleOptions(BorderColor.getColor(), 1f), false, false, location.getX(), location.getY(), location.getZ(), 1, 0d, 0d, 0d, 0d); } } } diff --git a/neoforge/src/main/resources/META-INF/neoforge.mods.toml b/neoforge/src/main/resources/META-INF/neoforge.mods.toml index bb711f2..e0d8632 100644 --- a/neoforge/src/main/resources/META-INF/neoforge.mods.toml +++ b/neoforge/src/main/resources/META-INF/neoforge.mods.toml @@ -13,13 +13,13 @@ description="${description}" [[dependencies.chunkyborder]] modId="neoforge" type="required" - versionRange="[21.2.0-beta,)" + versionRange="[21.4.0-beta,)" ordering="NONE" side="BOTH" [[dependencies.chunkyborder]] modId="minecraft" type="required" - versionRange="[1.21.2,1.22)" + versionRange="[1.21.4,1.22)" ordering="NONE" side="BOTH" [[dependencies.chunkyborder]]