Compare commits

...
Author SHA1 Message Date
Aram 34e7edf56a Inverted the HardBaking of the Anim Conventions 2025-04-17 15:11:16 +02:00
Aram 5e5cb97fae Fixed 1529 2025-04-17 14:23:45 +02:00
@@ -108,6 +108,10 @@ class BedrockSoundKeyframe(
override fun run(entity: Entity?, state: PosableState) {
val soundEvent = SoundEvent.createVariableRangeEvent(sound) // Means we don't need to setup a sound registry entry for every single thing
if (soundEvent != null) {
val minecraft = Minecraft.getInstance()
if (minecraft.screen != null && !soundEvent.location.path.contains("cry")) {
return
}
if (entity != null) {
entity.level().playLocalSound(entity, soundEvent, entity.soundSource, 1F, 1F)
} else {