This is a report regarding Resource Packs, for some time now, the player.entity.json within Bedrock Samples, has been bugged, and spear animations do not play properly because of missing variables, some of this can be resolved with guesswork, but it’s slow and doesn’t quite fix it.
This can be replicated at any time by downloading v1.26.10.4 of Bedrock Samples (https://github.com/Mojang/bedrock-samples ), and placing the resource_pack folder in the development_resource_packs folder, before enabling in game.
[Molang][error][DataPath]/animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.player.root | states | third_person | animations | attack.positions | variable.attack_time >= 0.0 && !variable.melee_spear_equipped | Error: unhandled request for unknown variable 'variable.melee_spear_equipped'
[Molang][error][DataPath]/animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.player.root | states | third_person | animations | attack.rotations | variable.attack_time >= 0.0 && !variable.melee_spear_equipped | Error: unhandled request for unknown variable 'variable.melee_spear_equipped'
[Molang][error][DataPath]/animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.player.root | states | third_person | animations | third_person_melee_spear_controller | variable.melee_spear_equipped | Error: unhandled request for unknown variable 'variable.melee_spear_equipped'
[Molang][error]-minecraft:player | [DataPath]animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.player.root | states | third_person | animations | attack.positions | variable.attack_time >= 0.0 && !variable.melee_spear_equipped | Error: unhandled request for unknown variable 'variable.melee_spear_equipped'
[Molang][error]-minecraft:player | [DataPath]animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.player.root | states | third_person | animations | attack.rotations | variable.attack_time >= 0.0 && !variable.melee_spear_equipped | Error: unhandled request for unknown variable 'variable.melee_spear_equipped'
[Molang][error]-minecraft:player | [DataPath]animation_controllers/player.animation_controllers.json | animation_controllers | controller.animation.player.root | states | third_person | animations | third_person_melee_spear_controller | variable.melee_spear_equipped | Error: unhandled request for unknown variable 'variable.melee_spear_equipped'
And this doesn’t just occur with these animations, the preview pack causes many things to go wrong, Bedrock Samples is expected to be complete and up to date for add-on creators.
In fact, the latest, and last few releases of Bedrock Samples have been bugged, the spear is not the only example of things going wrong, simply opening the content log (Ctrl+H in game) will reveal many issues with the current state of Bedrock Samples.
Because of the “unknown mystery code” in the pack, custom animations/models/resources in general that modify the player are extremely difficult to create.
Since this is an official pack, I presume it would be important that these issues are resolved.
Attachments
Comments 4
Thank you for your report. However, this issue is Invalid.
The Bedrock samples packs are not intended to be imported and used as-is in the game. Rather, they are generated as an example from vanilla assets. If you think there is a mistake in the samples packs, please make a new report that explains the mistake, not based on trying to use the pack as if it is an addon.
Thank you for helping us improve Minecraft! We saved your files: