Skip to main content
improved phrasing
Source Link
Joachim
  • 21k
  • 15
  • 74
  • 107

Trying to dorun a function on ender dragonEnder Dragon death

Im some whatI'm somewhat new to coding, imI'm trying to have the ender dragonEnder Dragon load a mcstucturean mcstructure on death,. myYou can see my current code attemp,attempt below; any thoughtthoughts on how to make this work?

    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.death": {
        "initial_state":"default",
            "states": {
                "default": {
                    "transitions": [
                        {
                            "dead": "ender_dragon.q.is_alive"
                        }
                    ]
                },
                "dead": {
                    "on_entry": ["/structure load dragon_drops ~ ~ ~"]
                }
            }
        }
    }
}
 

Trying to do a function on ender dragon death

Im some what new to coding, im trying to have the ender dragon load a mcstucture on death, my current code attemp, any thought on how to make this work?

    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.death": {
        "initial_state":"default",
            "states": {
                "default": {
                    "transitions": [
                        {
                            "dead": "ender_dragon.q.is_alive"
                        }
                    ]
                },
                "dead": {
                    "on_entry": ["/structure load dragon_drops ~ ~ ~"]
                }
            }
        }
    }
}
 

Trying to run a function on Ender Dragon death

I'm somewhat new to coding, I'm trying to have the Ender Dragon load an mcstructure on death. You can see my current code attempt below; any thoughts on how to make this work?

    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.death": {
        "initial_state":"default",
            "states": {
                "default": {
                    "transitions": [
                        {
                            "dead": "ender_dragon.q.is_alive"
                        }
                    ]
                },
                "dead": {
                    "on_entry": ["/structure load dragon_drops ~ ~ ~"]
                }
            }
        }
    }
}
 
edited title
Link

Trying to do a function on ender dragon functiiondeath

Source Link

Trying to do a on ender dragon functiion

Im some what new to coding, im trying to have the ender dragon load a mcstucture on death, my current code attemp, any thought on how to make this work?

    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.death": {
        "initial_state":"default",
            "states": {
                "default": {
                    "transitions": [
                        {
                            "dead": "ender_dragon.q.is_alive"
                        }
                    ]
                },
                "dead": {
                    "on_entry": ["/structure load dragon_drops ~ ~ ~"]
                }
            }
        }
    }
}