Phantom Flapping Sounds Don't Work Properly
When a phantom is visible the flapping sound is played correctly, however when the phantom isn't visible, the sound never plays, though ambient noises are still played.
The Phantom plays the flapping sound via a resource pack animation, when the phantom isn't visible the animation doesn't need to play, there for the sound isn't played.
If this could be fixed in a way that allows add-on creators to have sounds play from a mobs resource files that are not visible in camera that would be appreciated.
See the attached video for demo.
Steps To Reproduce:
- Make a box
- Set the time to night
- Put a Phantom in it
- Observe that while looking at the Phantom the flap sound is played
- Turn away from the Phantom
- Observe that the flap sound is no longer played
Expected Results:
- Phantoms (and other mobs that use sounds in animations) play animation sounds when not viewed, or use a different client side method of playing these sounds.
Observed Results:
- Phantoms don't play the flapping sound when they aren't being viewed
- Fixed
Gruntastic- 5
- 3
- Confirmed
- 561431
- Windows
- animation phantom resource-pack sound
1.18.10.27 Beta - 1.19.63
1.18.10.27 Beta 1.18.10.26 Beta 1.18.0.24 Beta 1.18.0.22 Beta 1.18.0.20 Beta 1.17.40.23 Beta 1.17.40.20 Beta 1.17.30.24 Beta 1.17.30.23 Beta 1.17.30.22 Beta 1.17.30.21 Beta 1.17.30.20 Beta 1.17.11 Hotfix 1.17.20.22 Beta 1.17.20.21 Beta 1.17.10 1.17.20.20 Beta 1.17.2 Hotfix 1.18.2 Hotfix 1.18.30.33 Preview 1.18.12 Hotfix 1.19.63- 1.20.70.21 Preview 1.20.70
Created Issue:
Phantom Flapping Sounds Don't Work Properly
When a phantom is visible the flapping sound is played correctly, however when the phantom isn't visible, the sound never plays, though ambient noises are still played.
The Phantom plays the flapping sound via a resource pack animation, when the phantom isn't visible the animation doesn't need to play, there for the sound isn't played.
If this could be fixed in a way that allows add-on creators to have sounds play from a mobs resource files that are not visible in camera that would be appreciated.
See the attached video for demo.
Steps To Reproduce:
- Make a box
- Set the time to night
- Put a Phantom in it
- Observe that while looking at the Phantom the flap sound is played
- Turn away from the Phantom
- Observe that the flap sound is no longer played
Expected Results:
- Phantoms (and other mobs that use sounds in animations) play animation sounds when not viewed, or use a different client side method of playing these sounds.
Observed Results:
- Phantoms don't play the flapping sound when they aren't being viewed
These sound bugs are all caused by the same issue. They are missing the property "should_update_effects_offscreen": true in the "scripts" section of their entity.json file.
The Warden, Phantom, and Armadillo were fixed in 1.20.70.21. (MCPE-159481, MCPE-133125). The Breeze was fixed in 1.21.0.20. However, this issue affects all mobs which use "sound_effects" through the entity.json file, so the Sniffer and Camel need the property set to true as well.
Expected Result
- Sniffers would continue to make sniffing sounds while behind the camera
- Camels will make stand-up and sit-down sounds while behind the camera
Breeze inhale sounds will be audible when the breeze is behind the cameraFixed in 1.21.0.20
Observed Result
- Sniffers do not audibly sniff when behind the camera
- Camels sit and stand silently behind the camera
Breezes do not play inhale, charge, or movement sounds behind the cameraFixed in 1.21.0.20
EDIT: Attached videos of sniffer and camel. Camel sit-down and stand-up sounds do not play with the animation; instead they are queued until the entity is on-screen again. Sniffers stop sniffing and queue the sounds when off-screen.