From f8244740275b62f33fa9dfd44d7b91e2f249418f Mon Sep 17 00:00:00 2001 From: Patbox <39821509+Patbox@users.noreply.github.com> Date: Sat, 30 Nov 2024 10:18:11 +0100 Subject: [PATCH] Update to 1.21.4 --- gradle.properties | 14 +++++++------- .../java/draylar/goml/api/WorldParticleUtils.java | 2 +- .../goml/block/augment/ForceFieldAugmentBlock.java | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/gradle.properties b/gradle.properties index 286ec60..5027b10 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G # Fabric Properties # check these on https://fabricmc.net/use -minecraft_version=1.21.3 -yarn_mappings=1.21.3+build.1 +minecraft_version=1.21.4-rc3 +yarn_mappings=1.21.4-rc3+build.1 loader_version=0.16.9 #Fabric api -fabric_version=0.106.1+1.21.3 +fabric_version=0.110.2+1.21.4 # Mod Properties -mod_version = 1.14.1 +mod_version = 1.15.0 maven_group = eu.pb4 archives_base_name = goml @@ -20,10 +20,10 @@ archives_base_name = goml rtree_version=0.3.0 cca_version=6.2.0 pal_version=1.10.0 -polymer_version=0.10.2+1.21.3 -sgui_version=1.7.2+1.21.2 +polymer_version=0.11.0+1.21.4-rc1 +sgui_version=1.8.1+1.21.4 stapi_version=2.4.0+1.21.2-rc1 -placeholder_version=2.5.0+1.21.2 +placeholder_version=2.5.1+1.21.3 common-protection-api_version=1.0.0 # compat diff --git a/src/main/java/draylar/goml/api/WorldParticleUtils.java b/src/main/java/draylar/goml/api/WorldParticleUtils.java index 896c06c..7e1c5a1 100644 --- a/src/main/java/draylar/goml/api/WorldParticleUtils.java +++ b/src/main/java/draylar/goml/api/WorldParticleUtils.java @@ -53,7 +53,7 @@ private static void spawnParticleIfVisible(ServerPlayerEntity player, ParticleEf }*/ world.spawnParticles( - player, effect, true, + player, effect, true, true, x, y, z, 1, 0.0, 0.0, 0.0, diff --git a/src/main/java/draylar/goml/block/augment/ForceFieldAugmentBlock.java b/src/main/java/draylar/goml/block/augment/ForceFieldAugmentBlock.java index e918c65..6a5e1f0 100644 --- a/src/main/java/draylar/goml/block/augment/ForceFieldAugmentBlock.java +++ b/src/main/java/draylar/goml/block/augment/ForceFieldAugmentBlock.java @@ -76,7 +76,7 @@ public void onPlayerEnter(Claim claim, PlayerEntity player) { for (int x = -1; x <= 1; x++) { for (int y = -1; y <= 1; y++) { ((ServerWorld) player.getWorld()).spawnParticles( - (ServerPlayerEntity) player, new BlockStateParticleEffect(ParticleTypes.BLOCK_MARKER, Blocks.BARRIER.getDefaultState()), true, + (ServerPlayerEntity) player, new BlockStateParticleEffect(ParticleTypes.BLOCK_MARKER, Blocks.BARRIER.getDefaultState()), true, true, pos2.x + dir2.getOffsetZ() * x, player.getEyeY() + y, pos2.z + dir2.getOffsetX() * x, 1, 0.0, 0.0, 0.0,