#How to make animations work

70 messages · Page 1 of 1 (latest)

idle prairie
#
Entity file

{
    "format_version": "1.19.0",
    "minecraft:client_entity": {
        "description": {
            "identifier": "c:magma_golem",
            "materials": {
                "default": "entity_alphatest"
            },
            "textures": {
                "default": "textures/entity/magma_golem"
            },
            "geometry": {
                "default": "geometry.magma_golem"
            },
            "scripts": {
                "animate": ["walk_controller"]
            },
        "animations": {
                "walk_controller": "controller.animation.magma_golem.walk",
                "idle": "animation.magma_golem.idle",
                "move": "animation.magma_golem.move"
        },
        "spawn_egg": {
                "overlay_color": "#FFB200FF",
                "base_color": "#FF4000FF"
        },
                    "render_controllers": ["controller.render.magma_golem"]
        }
    }
}
bronze locust
#

send client entity or ac you r using

#

send controller

#

anim ctrl

#

ac

idle prairie
#
Animation controller

{
    "format_version": "1.12.0",
    "animation_controllers": {
        "controller.animation.magma_golem.walk": {
            "initial_state": "standing",
            "states": {
                "standing": {
                    "blend_transition": 0.2,
                    "animations": ["idle"],
                    "transitions": [
                        {
                            "moving": "query.modified_move_speed > 0.1"
                        }
                    ]
                },
                "moving": {
                    "blend_transition": 0.2,
                    "animations": ["move"],
                    "transitions": [
                        {
                            "standing": "query.modified_move_speed < 0.1"
                        }
                    ]
                }
            }
        }
    }
}
bronze locust
#

change modified move soeed to

q.ground_speed

#

and tell me if it works

idle prairie
#

oh thank you

#

Nah it didn't lmao

#

Hes still walking straight

#

i changed the
query.modified_move_speed to query.ground_speed btw

#

1.19.41

#

@bronze locust

bronze locust
#

change client entiry format version to 1.10.0

idle prairie
#

It doesn't change anything at all

bronze locust
#

are you sure you are updating addOn, or using old version?

idle prairie
#

1.19.41

bronze locust
#

addOn itself

#

is it in development folder?

idle prairie
#

What that mean

#

External?

#

the manifest.json?

bronze locust
#

Hmm... are you using mobile or pc?

#

Minecraft you are running, is it on your phone? If it is, you need to change version every time you import

idle prairie
#
{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.magma_golem.walk": {
            "initial_state": "standing",
            "states": {
                "standing": {
                    "blend_transition": 0.2,
                    "animations": ["idle"],
                    "transitions": [
                        {
                            "moving": "query.ground_speed > 0.1"
                        }
                    ]
                },
                "moving": {
                    "blend_transition": 0.2,
                    "animations": ["move"],
                    "transitions": [
                        {
                            "standing": "query.ground_speed < 0.1"
                        }
                    ]
                }
            }
        }
    }
}
#

Ye im on phone

#

i always rejoin the world to reload

#

its on development folders

bronze locust
#

Okay

idle prairie
#

So it updates quickly

bronze locust
#

nice

idle prairie
#

How to fix this

bronze locust
#

Can you send behavior pavk?

#

I dont see any problem in anim ctrl

#

and in coient entity

idle prairie
#

Ye ok

#
{
    "format_version": "1.19.0",
    "minecraft:entity": {
        "description": {
            "identifier": "c:magma_golem",
            "is_summonable": true,
            "is_spawnable": true,
            "is_experimental": true
        },
        "components": {
            "minecraft:type_family": { 
                "family": ["golem"] 
            },
            "minecraft:health": { 
                "value": 50, 
                "max": 50 
            },
            "minecraft:movement": { 
                "value": 0.2 
            },
            "minecraft:collision_box": { 
                "width": 1, 
                "height": 4
            },
            "minecraft:physics": {},

            "minecraft:movement.basic": {},
            "minecraft:navigation.walk": {
                "can_walk": true,
                "can_open_doors": true
            },

            "minecraft:behavior.random_stroll": {
                "priority": 6,
                "speed_multiplier": 1
            },
            "minecraft:behavior.random_look_around": { 
                "priority": 7 
            },
            "minecraft:behavior.look_at_player": {
                "priority": 7,
                "look_distance": 6,
                "probability": 0.02
            }
        }
    }
}
bronze locust
#

everything looks alright

#

It seems we narrowed problem down to animation itself

#

can u send animation file?

idle prairie
#

Why i cant send

bronze locust
#

Okay, check there if anything suspicious is written

idle prairie
bronze locust
#

for example: geckolib_format

#

Resend

#

it might be a glitch

idle prairie
#

Long screenshot

#

Still cant send it

bronze locust
#

Have you turned on experimental fetures in your world?

idle prairie
#

Wait

#

Yess

#

I think

#

I changed something on models

#

because i edited the folders of bones to animate easily

#

Like left and right legs

bronze locust
#

Aa

#

XD

idle prairie
#

But in the old model the left and right leg is in one bone folder

#

See the difference

bronze locust
#

I see

#

Well, seems my work is done

#

goodbye

idle prairie
#

Lemme test if it works

#

Yes thank you