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:
@@ -3,3 +3,9 @@ plugins {
|
||||
eclipse
|
||||
id("geyser.base-conventions")
|
||||
}
|
||||
|
||||
java {
|
||||
toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(21)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user