1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-06 15:41:50 +00:00

Merge branch 'master' into feature/configurate

This commit is contained in:
chris
2025-11-14 17:13:32 +01:00
committed by GitHub
2 changed files with 11 additions and 1 deletions

View File

@@ -3,3 +3,9 @@ plugins {
eclipse
id("geyser.base-conventions")
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

View File

@@ -85,8 +85,12 @@ public class JavaAnimateTranslator extends PacketTranslator<ClientboundAnimatePa
session.sendUpstreamPacket(offHandPacket);
return;
}
case CRITICAL_HIT -> animatePacket.setAction(AnimatePacket.Action.CRITICAL_HIT);
case CRITICAL_HIT -> {
animatePacket.setData(55);
animatePacket.setAction(AnimatePacket.Action.CRITICAL_HIT);
}
case ENCHANTMENT_CRITICAL_HIT -> {
animatePacket.setData(15);
animatePacket.setAction(AnimatePacket.Action.MAGIC_CRITICAL_HIT); // Unsure if this does anything
// Spawn custom particle