diff --git a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java index a35e5762..6b1de9ba 100644 --- a/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java +++ b/src/main/java/de/florianmichael/viafabricplus/injection/mixin/fixes/minecraft/item/MixinHeldItemRenderer.java @@ -33,6 +33,7 @@ import net.minecraft.util.Hand; import net.minecraft.util.math.RotationAxis; import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Shadow; +import org.spongepowered.asm.mixin.Unique; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Slice; @@ -48,17 +49,14 @@ public abstract class MixinHeldItemRenderer { slice = @Slice(from = @At(value = "INVOKE", target = "Lnet/minecraft/item/ItemStack;getUseAction()Lnet/minecraft/util/UseAction;")), at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/item/HeldItemRenderer;applyEquipOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V", ordinal = 2, shift = At.Shift.AFTER)) private void transformSwordBlockingPosition(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, CallbackInfo ci) { - final boolean blockHitAnimation = VisualSettings.global().enableBlockHitAnimation.isEnabled(); - if (!VisualSettings.global().enableSwordBlocking.isEnabled() && !blockHitAnimation) { + if (!VisualSettings.global().enableSwordBlocking.isEnabled()) { return; } final Arm arm = hand == Hand.MAIN_HAND ? player.getMainArm() : player.getMainArm().getOpposite(); final int direction = arm == Arm.RIGHT ? 1 : -1; - if (blockHitAnimation) { - applySwingOffset(matrices, arm, swingProgress); - } + viaFabricPlus$applySwingOffset(player, hand, swingProgress, matrices); // Values stripped from early 1.9 snapshots, 15w33b specifically, which is the version prior to them removing sword blocking matrices.translate(direction * -0.14142136F, 0.08F, 0.14142136F); @@ -67,6 +65,17 @@ public abstract class MixinHeldItemRenderer { matrices.multiply(RotationAxis.POSITIVE_Z.rotationDegrees(direction * 78.05F)); } + @Inject(method = "renderFirstPersonItem", + at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/item/HeldItemRenderer;applyEquipOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V", ordinal = 3, shift = At.Shift.AFTER)) + private void applyFoodSwingOffset(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, CallbackInfo ci) { + viaFabricPlus$applySwingOffset(player, hand, swingProgress, matrices); + } + + @Inject(method = "renderFirstPersonItem", + at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/item/HeldItemRenderer;applyEquipOffset(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/util/Arm;F)V", ordinal = 5, shift = At.Shift.AFTER)) + private void applyBowSwingOffset(AbstractClientPlayerEntity player, float tickDelta, float pitch, Hand hand, float swingProgress, ItemStack item, float equipProgress, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, CallbackInfo ci) { + viaFabricPlus$applySwingOffset(player, hand, swingProgress, matrices); + } @Inject(method = "renderFirstPersonItem", at = @At(value = "INVOKE", target = "Lnet/minecraft/client/render/item/HeldItemRenderer;renderItem(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/render/model/json/ModelTransformationMode;ZLnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V", ordinal = 1)) @@ -83,4 +92,12 @@ public abstract class MixinHeldItemRenderer { } } + @Unique + private void viaFabricPlus$applySwingOffset(AbstractClientPlayerEntity player, Hand hand, float swingProgress, MatrixStack matrices) { + if (VisualSettings.global().swingHandOnItemUse.isEnabled()) { + final Arm arm = hand == Hand.MAIN_HAND ? player.getMainArm() : player.getMainArm().getOpposite(); + applySwingOffset(matrices, arm, swingProgress); + } + } + } diff --git a/src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java b/src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java index 6b03b965..9723527c 100644 --- a/src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java +++ b/src/main/java/de/florianmichael/viafabricplus/settings/impl/VisualSettings.java @@ -80,7 +80,7 @@ public class VisualSettings extends SettingGroup { public final VersionedBooleanSetting enableSwordBlocking = new VersionedBooleanSetting(this, Text.translatable("visual_settings.viafabricplus.enable_sword_blocking"), VersionRange.andOlder(ProtocolVersion.v1_8)); // 1.8.x -> 1.7.6 - 1.7.10 - public final VersionedBooleanSetting enableBlockHitAnimation = new VersionedBooleanSetting(this, Text.translatable("visual_settings.viafabricplus.enable_block_hit_animation"), VersionRange.andOlder(ProtocolVersion.v1_7_6)); + public final VersionedBooleanSetting swingHandOnItemUse = new VersionedBooleanSetting(this, Text.translatable("visual_settings.viafabricplus.swing_hand_on_item_use"), VersionRange.andOlder(ProtocolVersion.v1_7_6)); public final VersionedBooleanSetting enableLegacyTablist = new VersionedBooleanSetting(this, Text.translatable("visual_settings.viafabricplus.enable_legacy_tablist"), VersionRange.andOlder(ProtocolVersion.v1_7_6)); // 1.0.0-1.0.1 -> b1.8-b1.8.1 diff --git a/src/main/resources/assets/viafabricplus/lang/de_de.json b/src/main/resources/assets/viafabricplus/lang/de_de.json index 2f979f1d..d48bca71 100644 --- a/src/main/resources/assets/viafabricplus/lang/de_de.json +++ b/src/main/resources/assets/viafabricplus/lang/de_de.json @@ -89,7 +89,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Alte Laufanimation", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Verhalten des Schriftarten-Renderers ändern", "visual_settings.viafabricplus.enable_sword_blocking": "Schwertblockierung aktivieren", - "visual_settings.viafabricplus.enable_block_hit_animation": "Block-Trefferanimation aktivieren", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Block-Trefferanimation aktivieren", "visual_settings.viafabricplus.disable_server_pinging": "Server-Ping deaktivieren", "visual_settings.viafabricplus.sideways_backwards_walking": "Seitliches rückwärts laufen", "visual_settings.viafabricplus.enable_legacy_tablist": "Legacy-Tab-Liste aktivieren", diff --git a/src/main/resources/assets/viafabricplus/lang/en_us.json b/src/main/resources/assets/viafabricplus/lang/en_us.json index cd45911b..b09b6a02 100644 --- a/src/main/resources/assets/viafabricplus/lang/en_us.json +++ b/src/main/resources/assets/viafabricplus/lang/en_us.json @@ -91,7 +91,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Old walking animation", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Change Font Renderer behavior", "visual_settings.viafabricplus.enable_sword_blocking": "Enable sword animation", - "visual_settings.viafabricplus.enable_block_hit_animation": "Enable block hit animation", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Swing hand on item use", "visual_settings.viafabricplus.disable_server_pinging": "Disable server pinging", "visual_settings.viafabricplus.sideways_backwards_walking": "Sideways backwards walking", "visual_settings.viafabricplus.enable_legacy_tablist": "Enable legacy tablist", diff --git a/src/main/resources/assets/viafabricplus/lang/es_ar.json b/src/main/resources/assets/viafabricplus/lang/es_ar.json index 1b0f8096..3d3d5bc9 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_ar.json +++ b/src/main/resources/assets/viafabricplus/lang/es_ar.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/es_cl.json b/src/main/resources/assets/viafabricplus/lang/es_cl.json index 1b0f8096..3d3d5bc9 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_cl.json +++ b/src/main/resources/assets/viafabricplus/lang/es_cl.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/es_ec.json b/src/main/resources/assets/viafabricplus/lang/es_ec.json index 1b0f8096..3d3d5bc9 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_ec.json +++ b/src/main/resources/assets/viafabricplus/lang/es_ec.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/es_es.json b/src/main/resources/assets/viafabricplus/lang/es_es.json index c42e9ebc..c36afdfa 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_es.json +++ b/src/main/resources/assets/viafabricplus/lang/es_es.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/es_mx.json b/src/main/resources/assets/viafabricplus/lang/es_mx.json index 1b0f8096..3d3d5bc9 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_mx.json +++ b/src/main/resources/assets/viafabricplus/lang/es_mx.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/es_uy.json b/src/main/resources/assets/viafabricplus/lang/es_uy.json index 1b0f8096..3d3d5bc9 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_uy.json +++ b/src/main/resources/assets/viafabricplus/lang/es_uy.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/es_ve.json b/src/main/resources/assets/viafabricplus/lang/es_ve.json index 1b0f8096..3d3d5bc9 100644 --- a/src/main/resources/assets/viafabricplus/lang/es_ve.json +++ b/src/main/resources/assets/viafabricplus/lang/es_ve.json @@ -78,7 +78,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Animación de caminar antigua", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Cambiar el comportamiento del renderizador de fuentes", "visual_settings.viafabricplus.enable_sword_blocking": "habilitar animación de espada", - "visual_settings.viafabricplus.enable_block_hit_animation": "Habilitar animación de golpe de bloque", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Habilitar animación de golpe de bloque", "bedrock.viafabricplus.login": "Tu navegador debería haberse abierto.\nCerrar esta pantalla cancelará el proceso!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus falló al verificar tu sesión! Por favor inicia sesión en una cuenta o desactiva la autenticación de BetaCraft en la configuración de ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/hu_hu.json b/src/main/resources/assets/viafabricplus/lang/hu_hu.json index 938548dd..1b773d69 100644 --- a/src/main/resources/assets/viafabricplus/lang/hu_hu.json +++ b/src/main/resources/assets/viafabricplus/lang/hu_hu.json @@ -76,7 +76,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Régi séta animáció", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Betűkészlet renderelő viselkedésének módosítása", "visual_settings.viafabricplus.enable_sword_blocking": "Kard animáció bekapcsolása", - "visual_settings.viafabricplus.enable_block_hit_animation": "Blokkolás-ütés animáció bekapcsolása", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Blokkolás-ütés animáció bekapcsolása", "bedrock.viafabricplus.login": "A böngésződnek meg kellett volna nyílnia.\nKérlek írd be a következő kódot: %s\nEzen képernyő bezárása megszakítja a folyamatot!", "authentication.viafabricplus.failed_to_verify_session": "A ViaFabricPlus nem tudta ellenőrizni a munkamenetet! Kérlek jelentkezz be egy Fiókba, vagy kapcsold ki a BetaCraft hitelesítést a ViaFabricPlus Beállításaiban", diff --git a/src/main/resources/assets/viafabricplus/lang/ko_kr.json b/src/main/resources/assets/viafabricplus/lang/ko_kr.json index 2c8c1724..f7af6a3e 100644 --- a/src/main/resources/assets/viafabricplus/lang/ko_kr.json +++ b/src/main/resources/assets/viafabricplus/lang/ko_kr.json @@ -91,7 +91,7 @@ "visual_settings.viafabricplus.old_walking_animation": "예전 걷기 에니메이션", "visual_settings.viafabricplus.change_font_renderer_behaviour": "폰트 렌더링 방식 바꾸기", "visual_settings.viafabricplus.enable_sword_blocking": "칼로 막기 허용", - "visual_settings.viafabricplus.enable_block_hit_animation": "블럭 치는 에니메이션 허용", + "visual_settings.viafabricplus.swing_hand_on_item_use": "블럭 치는 에니메이션 허용", "visual_settings.viafabricplus.disable_server_pinging": "서버 핑 비활성화", "visual_settings.viafabricplus.sideways_backwards_walking": "옆과 뒤로 걷기", "visual_settings.viafabricplus.enable_legacy_tablist": "레거시 탭 리스트 허용", diff --git a/src/main/resources/assets/viafabricplus/lang/lb_lu.json b/src/main/resources/assets/viafabricplus/lang/lb_lu.json index 13ea056a..cfbaede7 100644 --- a/src/main/resources/assets/viafabricplus/lang/lb_lu.json +++ b/src/main/resources/assets/viafabricplus/lang/lb_lu.json @@ -82,7 +82,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Aal Laafanimatioun", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Verhaalen vum Schreftarten-Renderer änneren", "visual_settings.viafabricplus.enable_sword_blocking": "Schwertblockeierung aktivieieren", - "visual_settings.viafabricplus.enable_block_hit_animation": "Block-Trefferanimation aktiveieren", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Block-Trefferanimation aktiveieren", "visual_settings.viafabricplus.disable_server_pinging": "Server-Ping deaktiveieren", "visual_settings.viafabricplus.sideways_backwards_walking": "Säitlicht hannerzech laafen", "visual_settings.viafabricplus.enable_legacy_tablist": "Legacy-Tab-Lescht aktiveieren", diff --git a/src/main/resources/assets/viafabricplus/lang/pl_pl.json b/src/main/resources/assets/viafabricplus/lang/pl_pl.json index 8140f4bb..95a98d53 100644 --- a/src/main/resources/assets/viafabricplus/lang/pl_pl.json +++ b/src/main/resources/assets/viafabricplus/lang/pl_pl.json @@ -94,7 +94,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Stara animacja chodzenia", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Zmień sposób renderowania czcionek", "visual_settings.viafabricplus.enable_sword_blocking": "Włącz blokowanie mieczem", - "visual_settings.viafabricplus.enable_block_hit_animation": "Włącz animację niszczenia bloków 1.7", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Włącz animację niszczenia bloków 1.7", "visual_settings.viafabricplus.disable_server_pinging": "Wyłącz pingowanie serwerów", "visual_settings.viafabricplus.sideways_backwards_walking": "Chodzenie do tyłu na boki", "visual_settings.viafabricplus.enable_legacy_tablist": "Włącz starą listę graczy", diff --git a/src/main/resources/assets/viafabricplus/lang/ru_ru.json b/src/main/resources/assets/viafabricplus/lang/ru_ru.json index 05d09e4a..c8576e23 100644 --- a/src/main/resources/assets/viafabricplus/lang/ru_ru.json +++ b/src/main/resources/assets/viafabricplus/lang/ru_ru.json @@ -83,7 +83,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Старая анимация ходьбы", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Старый шрифт", "visual_settings.viafabricplus.enable_sword_blocking": "Анимация меча", - "visual_settings.viafabricplus.enable_block_hit_animation": "Парирование атак из версии 1.7", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Парирование атак из версии 1.7", "visual_settings.viafabricplus.disable_server_pinging": "Не проверять соединение", "visual_settings.viafabricplus.sideways_backwards_walking": "Старая походка спиной", "visual_settings.viafabricplus.enable_legacy_tablist": "Старый список игроков", diff --git a/src/main/resources/assets/viafabricplus/lang/tr_tr.json b/src/main/resources/assets/viafabricplus/lang/tr_tr.json index 6b508a94..74b0b5a2 100644 --- a/src/main/resources/assets/viafabricplus/lang/tr_tr.json +++ b/src/main/resources/assets/viafabricplus/lang/tr_tr.json @@ -90,7 +90,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Eski Yürüyüş Animasyonu", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Yazı Tipi Oluşturucu Davranışını Değiştirme", "visual_settings.viafabricplus.enable_sword_blocking": "Kılıç Animasyonunu Aç", - "visual_settings.viafabricplus.enable_block_hit_animation": "Blok Hit Animasyonunu Aç", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Blok Hit Animasyonunu Aç", "visual_settings.viafabricplus.disable_server_pinging": "Veri Gönderimini Kapat", "visual_settings.viafabricplus.sideways_backwards_walking": "Yana Doğru Geri Geri Yürüme", "visual_settings.viafabricplus.enable_legacy_tablist": "Eski Tablist'i Aç", diff --git a/src/main/resources/assets/viafabricplus/lang/uk_ua.json b/src/main/resources/assets/viafabricplus/lang/uk_ua.json index b23bb5b3..e63c368a 100644 --- a/src/main/resources/assets/viafabricplus/lang/uk_ua.json +++ b/src/main/resources/assets/viafabricplus/lang/uk_ua.json @@ -76,7 +76,7 @@ "visual_settings.viafabricplus.old_walking_animation": "Стара анімація ходьби", "visual_settings.viafabricplus.change_font_renderer_behaviour": "Змінити поведінку рендерингу шрифта", "visual_settings.viafabricplus.enable_sword_blocking": "Увімкнути блокування мечем", - "visual_settings.viafabricplus.enable_block_hit_animation": "Ввімкнути анімацію удару блоку 1.7", + "visual_settings.viafabricplus.swing_hand_on_item_use": "Ввімкнути анімацію удару блоку 1.7", "bedrock.viafabricplus.login": "Ваш браузер мав відкритися.\nБудь ласка, введіть наступний код: %s\nЯкщо закрити цей екран, процес буде скасовано!", "authentication.viafabricplus.failed_to_verify_session": "ViaFabricPlus не зміг підтвредити вашу сессію! Будь ласка увійдіть у Ваш аккаунт чи вимкніть аутентифікацію BetaCraft в налаштуваннях ViaFabricPlus", diff --git a/src/main/resources/assets/viafabricplus/lang/zh_cn.json b/src/main/resources/assets/viafabricplus/lang/zh_cn.json index a9f6bd10..c999a26f 100644 --- a/src/main/resources/assets/viafabricplus/lang/zh_cn.json +++ b/src/main/resources/assets/viafabricplus/lang/zh_cn.json @@ -91,7 +91,7 @@ "visual_settings.viafabricplus.old_walking_animation": "旧版行走动画", "visual_settings.viafabricplus.change_font_renderer_behaviour": "更改字体渲染器行为", "visual_settings.viafabricplus.enable_sword_blocking": "启用剑动画", - "visual_settings.viafabricplus.enable_block_hit_animation": "启用格挡命中动画", + "visual_settings.viafabricplus.swing_hand_on_item_use": "启用格挡命中动画", "visual_settings.viafabricplus.disable_server_pinging": "禁用服务器Ping", "visual_settings.viafabricplus.sideways_backwards_walking": "侧身后退行走", "visual_settings.viafabricplus.enable_legacy_tablist": "启用旧版Tab列表", diff --git a/src/main/resources/assets/viafabricplus/lang/zh_hk.json b/src/main/resources/assets/viafabricplus/lang/zh_hk.json index c91df1cc..cf97e621 100644 --- a/src/main/resources/assets/viafabricplus/lang/zh_hk.json +++ b/src/main/resources/assets/viafabricplus/lang/zh_hk.json @@ -90,7 +90,7 @@ "visual_settings.viafabricplus.old_walking_animation": "舊版行走動畫", "visual_settings.viafabricplus.change_font_renderer_behaviour": "改變字體渲染嘅行為", "visual_settings.viafabricplus.enable_sword_blocking": "啟用 1.8 劍阻擋動畫", - "visual_settings.viafabricplus.enable_block_hit_animation": "啟用 1.7 阻擋攻擊動畫", + "visual_settings.viafabricplus.swing_hand_on_item_use": "啟用 1.7 阻擋攻擊動畫", "visual_settings.viafabricplus.disable_server_pinging": "禁用伺服器 pinging", "visual_settings.viafabricplus.sideways_backwards_walking": "側身倒退行走", "visual_settings.viafabricplus.enable_legacy_tablist": "啟用舊版 Tab 列表", diff --git a/src/main/resources/assets/viafabricplus/lang/zh_tw.json b/src/main/resources/assets/viafabricplus/lang/zh_tw.json index 104a9ba9..55b2a87c 100644 --- a/src/main/resources/assets/viafabricplus/lang/zh_tw.json +++ b/src/main/resources/assets/viafabricplus/lang/zh_tw.json @@ -91,7 +91,7 @@ "visual_settings.viafabricplus.old_walking_animation": "舊版行走動畫", "visual_settings.viafabricplus.change_font_renderer_behaviour": "變更字型渲染器行為", "visual_settings.viafabricplus.enable_sword_blocking": "啟用 1.8 劍格擋動畫", - "visual_settings.viafabricplus.enable_block_hit_animation": "啟用 1.7 格擋攻擊動畫", + "visual_settings.viafabricplus.swing_hand_on_item_use": "啟用 1.7 格擋攻擊動畫", "visual_settings.viafabricplus.disable_server_pinging": "停用伺服器 Ping", "visual_settings.viafabricplus.sideways_backwards_walking": "側身倒退行走", "visual_settings.viafabricplus.enable_legacy_tablist": "啟用舊版 Tab 清單",