From 68b8481de15fd22d10a3649ffad8173c3543692b Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Wed, 13 Nov 2024 16:20:14 +0100 Subject: [PATCH] 24w46a --- .../Protocol1_21_4To1_21_2.java | 4 ++-- .../rewriter/EntityPacketRewriter1_21_4.java | 17 +++++++++++------ .../data/mappings-1.21.4to1.21.2.nbt | Bin 1893 -> 2733 bytes 3 files changed, 13 insertions(+), 8 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/Protocol1_21_4To1_21_2.java b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/Protocol1_21_4To1_21_2.java index 3ae59ecd..9669ff3a 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/Protocol1_21_4To1_21_2.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_4to1_21_2/Protocol1_21_4To1_21_2.java @@ -27,7 +27,7 @@ import com.viaversion.viabackwards.protocol.v1_21_4to1_21_2.rewriter.EntityPacke import com.viaversion.viabackwards.protocol.v1_21_4to1_21_2.rewriter.ParticleRewriter1_21_4; import com.viaversion.viaversion.api.connection.UserConnection; import com.viaversion.viaversion.api.minecraft.Particle; -import com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_21_2; +import com.viaversion.viaversion.api.minecraft.entities.EntityTypes1_21_4; import com.viaversion.viaversion.api.protocol.packet.provider.PacketTypesProvider; import com.viaversion.viaversion.api.protocol.packet.provider.SimplePacketTypesProvider; import com.viaversion.viaversion.api.type.Types; @@ -161,7 +161,7 @@ public final class Protocol1_21_4To1_21_2 extends BackwardsProtocol { + filter().type(EntityTypes1_21_4.CREAKING).removeIndex(18); // Is tearing down + filter().type(EntityTypes1_21_4.SALMON).index(17).handler((event, data) -> { final int typeId = data.value(); final String type = switch (typeId) { case 0 -> "small"; @@ -171,8 +171,13 @@ public final class EntityPacketRewriter1_21_4 extends EntityRewriter}9A z;3}@c2^XqSgX=JG12<8NI@F^9Zrs9cc);(hjktrmXu>@-qXn&KL%aCI>LchtC+?#Q z-RQvs^r8yuxd|!Q0T|?=XrnjAH_mc#jX5 z!bg0zuLHF@r36&Mk#YnbhyTtJ(h^pq5P&; zbx==K$$CU)q^sU*cnz1wES5Tl+wF3e8qJKFjA&vqoSIp5&%cA=a9WMq_;A+H#uiM` HkD2!Y$e5P_ delta 380 zcmXxgJxfAy6oBz_eY>P2ggAuv5)BOvYC%HTA|fFo5fLI0Q6V8A6>^D);C==555Bdv zH#sylI5apkG&D3gL^udaI5ac_Jq->&IMX=~=OH-oR}$W~PaMaVh^$vLn|4CPNFs$T zq>(`u+t|S__K-s!`#8WMj&OnkPEo`eN;tZ7|M9mt5!Y76z3t>b= zN_8~QM2lqW;y+nEI@WBF&=b0NMh`D|#T(wy#|H*rYiNuKzVU-!5;V9mgIUZWht6F((?ohQu(cYN9zP$N&O=5(nQUGLa>#Q6tJZa;?r