1

Bedrock modding question

Kraggle09's Avatar Kraggle0911/29/21 8:39 pm
1 emeralds 114 1
11/29/2021 8:40 pm
Kraggle09's Avatar Kraggle09
Hi!

I am developing a modpack called Minecraft+, and so far, I have added a copper golem.

I'm new in the bedrock modding space, and there is one thing I am stuck on. I have made the entity, model, texture, and animation, but I can't figure out how to make the animation play when the entity is moving. Any ideas? I tried making this animation controller:

{ "format_version": "1.10.0", "animation_controllers": { "controller.animation.copper_golem.move": { "states": { "default": { "transitions":[ {"moving": "query.ground_speed >= 0.1"} ] }, "moving": { "animations":[ "move" ], "transitions":[ {"default": "query.ground_speed <= 0.1"} ], "blend_transition":0.5 } } } }}

Then referencing the controller in the entity resource file,
"animations": { "look_at_target": "animation.copper_golem.look_at_target", "walk": "animation.copper_golem.walk", "walk_controller": "controller.animation.copper_golem.move" }, "scripts": { "animate": [ "look_at_target", "walk_controller" ] }

But the animation doesn't play. Any ideas on how to fix this?
Posted by Kraggle09's Avatar
Kraggle09
Level 19 : Journeyman Explorer
7

Create an account or sign in to comment.

1

Kraggle09
11/29/2021 8:40 pm
Level 19 : Journeyman Explorer
Kraggle09's Avatar
Also, sorry the code is so hard to read, I am not good at formatting.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome