{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.cc_fairytales.fairy_day": {
      "states": {
        "default": {
          "transitions": [
            {
              "lluvia": "query.mark_variant == 2"
            },
            {
              "sol": "query.mark_variant == 3"
            },
            {
              "tormenta": "query.mark_variant == 4"
            },
            {
              "dia": "query.mark_variant == 5"
            },
            {
              "noche": "query.mark_variant == 6"
            },
            {
              "dar_xp": "query.mark_variant == 7"
            },
            {
              "respiracion": "query.mark_variant == 8"
            },
            {
              "fuerza": "query.mark_variant == 9"
            },
            {
              "velocidad": "query.mark_variant == 10"
            },
            {
              "fuego": "query.mark_variant == 11"
            },
            {
              "nocturna": "query.mark_variant == 12"
            },
            {
              "regeneracion": "query.mark_variant == 13"
            },
            {
              "absorcion": "query.mark_variant == 14"
            },
            {
              "absorcion_max": "query.mark_variant == 15"
            }
          ]
        },
        "lluvia": {
          "on_entry": [
            "/weather rain",
            "/say §a[!]§b The weather has been updated using a fairy"
          ],
          "transitions": [
            {
              "default": "false"
            }
          ]
        },
        "sol": {
          "on_entry": [
            "/weather clear",
            "/say §a[!]§b The weather has been updated using a fairy"
          ],
          "transitions": [
            {
              "default": "false"
            }
          ]
        },
        "tormenta": {
          "on_entry": [
            "/weather thunder",
            "/say §a[!]§b The weather has been updated using a fairy"
          ],
          "transitions": [
            {
              "default": "false"
            }
          ]
        },
        "dia": {
          "on_entry": [
            "/time set day",
            "/say §a[!]§b The time has been updated using a fairy"
          ],
          "transitions": [
            {
              "default": "false"
            }
          ]
        },
        "noche": {
          "on_entry": [
            "/time set night",
            "/say §a[!]§b The time has been updated using a fairy"
          ],
          "transitions": [
            {
              "default": "false"
            }
          ]
        },
        "dar_xp": {
          "on_entry": [
            "/xp 5L @a"
          ],
          "transitions": [
            {
              "default": "false"
            }
          ]
        },
        "respiracion": {
          "on_entry": [
            "/effect @a[r=10] water_breathing 60 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "fuerza": {
          "on_entry": [
            "/effect @a[r=10] strength 60 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "velocidad": {
          "on_entry": [
            "/effect @a[r=10] speed 60 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "fuego": {
          "on_entry": [
            "/effect @a[r=10] fire_resistance 60 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "nocturna": {
          "on_entry": [
            "/effect @a[r=10] night_vision 60 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "regeneracion": {
          "on_entry": [
            "/effect @a[r=10] regeneration 60 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "absorcion":{
          "on_entry": [
            "/effect @a[r=10] absorption 60 1 true",             
            "/effect @a[r=10] regeneration 10 1 true",           
            "/effect @a[r=10] fire_resistance 20 1 true",            
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        },
        "absorcion_max": {
          "on_entry": [
            "/effect @a[r=10] absorption 60 3 true",
            "/effect @a[r=10] regeneration 15 2 true",
            "/effect @a[r=10] fire_resistance 30 1 true",
            "@s resetear"
          ],
          "transitions": [
            {
              "default": "query.mark_variant == 1"
            }
          ]
        }
      }
    }
  }
}
