{
    "format_version": "1.20.50",
    "minecraft:client_entity": {
        "description": {
            "identifier": "eddieworks:sewing_machine",
            "materials": {
                "default": "entity_alphatest",
                "indicator": "charged_creeper"
            },
            "textures": {
                "default": "textures/stellar_plushies/sewing_machine",
                "indicator": "textures/stellar_plushies/sewing_machine_indicator",
                "destroy_stage_1": "textures/environment/destroy_stage_1",
                "destroy_stage_2": "textures/environment/destroy_stage_4",
                "destroy_stage_3": "textures/environment/destroy_stage_7"
            },
            "geometry": {
                "default": "geometry.sewing_machine",
                "inflated": "geometry.sewing_machine.inflated"
            },
            "animations": {
                "facing": "animation.sewing_machine.facing",
                "place_object": "animation.sewing_machine.place_object",
                "place_all": "animation.sewing_machine.place_all",
                "on": "animation.sewing_machine.on",
                "use": "animation.sewing_machine.use"
            },
            "scripts": {
                "animate": [
                    "facing",
                    { "place_object": "query.mark_variant == 1" },
                    { "place_object": "query.mark_variant == 2" },
                    { "place_all": "query.mark_variant == 3" }
                ]
            },
            "sound_effects": {
                "place_all": "smithing_table.use"
            },
            "particle_effects": {
                "place": "eddieworks:sewing_place",
                "filled": "eddieworks:sewing_filled"
            },
            "render_controllers": [
                { "controller.render.sewing_machine.destroy": "query.variant > 0 && query.variant < 4" },
                "controller.render.sewing_machine",
                { "controller.render.sewing_machine.indicator_crank": "!query.mark_variant == 4" },
                { "controller.render.sewing_machine.indicator_needle": "!query.mark_variant == 4" }
            ]
        }
    }
}