Fix: player.entity.json Missing pre_animation Entries in Bedrock Samples
Quick Answer: The player.entity.json in bedrock-samples is incomplete—it’s missing dozens of pre_animation entries that exist in the real vanilla player entity. For accurate player animations, extract the actual vanilla player.entity.json from the game files using /datadriven_content export, or reference the bedrock.dev documentation for the complete definition.
Details: The player.entity.json file in the Mojang/bedrock-samples repository is a partial sample, not the complete vanilla player entity definition. It’s missing critical pre_animation entries that control first-person hand animations, swimming, sneaking, sleeping, and other player states. The repository’s sample is intentionally simplified. To get the complete player entity definition with all pre_animation controllers, use the in-game command /datadriven_content export entity player.entity.json (requires Holiday Creator Features experimental toggle) or download the extracted vanilla entity files from bedrock.dev/entity-documentation. The vanilla player entity includes pre_animation controllers for: first_person_hand, swimming, sneaking, sleeping, dying, using_item, blocking, and more—each with their own animation state machine logic.
/datadriven_content export entity player.entity.json
# Example of missing pre_animation entries in vanilla:\n\"pre_animation\": [\n \"controller.animation.player.first_person\",\n \"controller.animation.player.swimming\",\n \"controller.animation.player.sneaking\",\n \"controller.animation.player.sleeping\",\n \"controller.animation.player.dying\",\n \"controller.animation.player.using_item\",\n \"controller.animation.player.blocking\"\n]
Related Topics: Bedrock Addons, Entities, Player, Animation, Missing Files
Last updated: 2026-07-12
