Online PHP and Javascript Decoder decode hidden script to uncover its real functionality


{
    "format_version": "1.10.0",
    "animation_controllers": {
        "controller.animation.cartoon_dog": {
            "states": {
                "default": {
                    "transitions": [{
                            "walking": "query.is_casting && query.mark_variant == 0"
                        }
                    ],
                    "on_entry": [
                        "/execute @e[type=!hkmd:cartoon_dog,type=!hkmd:cartoon_dog_hand,type=!hkmd:cartoon_dog_hand2,type=!hkmd:cartoon_dog_hand3,type=!hkmd:speed_dog,type=!player,type=!item,type=!hkmd:fog,c=1] ~~~ tp @e[type=!hkmd:cartoon_dog,type=!player,type=!item,type=!hkmd:fog,r=11,c=1] ^^^0.09 facing @e[type=hkmd:cartoon_dog,r=15,c=1]",
                        "/execute @e[type=hkmd:cartoon_dog] ~~~ effect @e[type=!hkmd:cartoon_dog,r=1] clear",
                        "/execute @e[type=hkmd:cartoon_dog] ~~~ effect @e[type=!hkmd:cartoon_dog,type=!ho:sirenhead,r=1] instant_damage 100 255 true",
						"/execute @e[type=hkmd:cartoon_dog] ~~~ kill @e[type=!hkmh:cartoon_dog,type=!ho:sirenhead,type=!hkmd:cartoon_dog_hand,r=2]",
						"/execute @e[type=hkmd:cartoon_dog] ~~~ tp @e[type=!hkmd:cartoon_dog,type=!hkmd:cartoon_dog_hand,type=!hkmd:cartoon_dog_hand2,type=!hkmd:cartoon_dog_hand3,type=!hkmd:speed_dog,type=!player,r=1] ~-9999999 ~-99999999 ~-9999999",
                        "/execute @s ~~~ tp @s ~~~",
                        "/execute @p[m=!c,c=1] ~~~ tp @p[m=!c,c=1,r=12] ^^^0.09 facing @e[type=hkmd:cartoon_dog,r=12,c=1]",
                        "/effect @s slowness 1 255 true"

                    ]
                },
                "walking": {
                    "transitions": [{
                            "default": "query.is_casting && query.mark_variant == 0"
                        }
                    ],
                    "on_entry": [
                        "/execute @e[type=!hkmd:cartoon_dog,type=!hkmd:cartoon_dog_hand,type=!hkmd:cartoon_dog_hand2,type=!hkmd:cartoon_dog_hand3,type=!hkmd:speed_dog,type=!player,type=!item,type=!hkmd:fog,c=1] ~~~ tp @e[type=!hkmd:cartoon_dog,type=!player,type=!item,type=!hkmd:fog,r=11,c=1] ^^^0.09 facing @e[type=hkmd:cartoon_dog,r=15,c=1]",
                        "/execute @e[type=hkmd:cartoon_dog] ~~~ effect @e[type=!hkmd:cartoon_dog,r=1] clear",
                        "/execute @e[type=hkmd:cartoon_dog] ~~~ effect @e[type=!hkmd:cartoon_dog,type=!ho:sirenhead,r=1] instant_damage 100 255 true",
						"/execute @e[type=hkmd:cartoon_dog] ~~~ kill @e[type=!hkmd:cartoon_dog,type=!ho:sirenhead,type=!hkmd:cartoon_dog_hand,r=2]",
						"/execute @e[type=hkmd:cartoon_dog] ~~~ tp @e[type=!hkmd:cartoon_dog,type=!hkmd:cartoon_dog_hand,type=!hkmd:cartoon_dog_hand2,type=!hkmd:cartoon_dog_hand3,type=!hkmd:speed_dog,type=!player,r=1] ~-9999999 ~-99999999 ~-9999999",
                        "/execute @s ~~~ tp @s ~~~",
                        "/execute @p[m=!c,c=1] ~~~ tp @p[m=!c,c=1,r=12] ^^^0.09 facing @e[type=hkmd:cartoon_dog,r=12,c=1]",
                        "/effect @s slowness 1 255 true"
                    ]
                }
            }
        },
		"controller.animation.cartoon_dog_bite": {
            "initial_state": "default",
            "states": {
                "default": {
                    "transitions": [{
                            "on_timer": "query.is_casting && query.mark_variant == 3"
                        }, {
                            "off_timer": "!query.is_casting && query.mark_variant == 3"
                        }
                    ]
                },
                "on_timer": {
                    "animations": ["head_gone", "giu_chat"],
                    "transitions": [{
                            "on": "!query.is_casting"
                        }
                    ],
                    "on_entry": ["@s stop_music"]
                },
                "on": {
                    "transitions": [{
                            "off_timer": "!query.is_casting && query.mark_variant == 3"
                        }
                    ]
                },
                "off_timer": {
                    "animations": ["head_gone", "giu_chat"],
                    "transitions": [{
                            "off": "!query.is_casting"
                        }
                    ],
                    "on_entry": ["@s start_music"]
                },
                "off": {
                    "transitions": [{
                            "on_timer": "query.is_casting && query.mark_variant == 3"
                        }
                    ]
                }
            }
        },
		"controller.animation.cartoon_cat_do_kich": {
		    "initial_state": "default",
		    "states": {
		        "default": {
		            "transitions": [{
		                    "do_kich": "query.has_target ? (query.target -> query.model_scale >= 0.1) : 0"
		                }
		            ]
		        },
		        "do_kich": {
		            "on_entry": [
						"@s minecraft:bigger_size"
		            ],
		            "on_exit": [
						"@s minecraft:normal_size"
		            ],
		            "transitions": [{
		                    "default": "return query.has_target ? !(query.target -> query.model_scale >= 0.1) : query.is_alive;"
		                }
		            ]
		        }
		    }
		},
		"controller.animation.cartoon_cat_sneak": {
		    "initial_state": "default",
		    "states": {
		        "default": {
		            "transitions": [{
		                    "sneaky": "query.has_target ? (query.target -> query.is_moving) : 0"
		                }
		            ]
		        },
		        "sneaky": {
		            "on_entry": [
						"@s minecraft:fast_mode"
		            ],
		            "on_exit": [
						"@s minecraft:sneak_mode"
		            ],
		            "transitions": [{
		                    "default": "return query.has_target ? !(query.target -> query.is_moving) : query.is_alive;"
		                }
		            ]
		        }
		    }
		},
		"controller.animation.cartoon_dog_fly": {
		    "initial_state": "default",
		    "states": {
		        "default": {
		            "transitions": [{
		                    "do_kich": "query.has_target ? (query.target -> (query.is_gliding || query.can_fly)) : 0"
		                }
		            ]
		        },
		        "do_kich": {
		            "on_entry": [
						"@s minecraft:biggest_size",
						"/say fly up won't save you"
		            ],
		            "on_exit": [
						"@s minecraft:normal_size"
		            ],
		            "transitions": [{
		                    "default": "return query.has_target ? !(query.target -> (query.is_gliding || query.can_fly)) : query.is_alive;"
		                }
		            ]
		        }
		    }
		},
		"controller.animation.cartoon_dog_do_cast": {
		    "initial_state": "default",
		    "states": {
		        "default": {
		            "transitions": [{
		                    "do_cast": "query.has_target ? (query.target -> query.is_casting) : 0"
		                }
		            ]
		        },
		        "do_cast": {
		            "on_entry": [
						"@s minecraft:start_knock"
		            ],
		            "on_exit": [
						"/title @a actionbar your done?"
		            ],
		            "transitions": [{
		                    "default": "return query.has_target ? !(query.target -> query.is_casting) : query.is_alive;"
		                }
		            ]
		        }
		    }
		},
		"controller.animation.immortal": {
            "states": {
				"default": {
					"transitions": [
						{
							"unkillable": "!query.is_alive"
						}
					]
				},
				"unkillable": {
					"on_entry": [
						"@s minecraft:immortal"
					]
				}
			}
        },
		"controller.animation.cartoon_dog_do_woof": {
		    "initial_state": "default",
		    "states": {
		        "default": {
		            "transitions": [{
		                    "do_woof": "(query.target -> query.health) >= 1.0 && variable.is_immortal"
		                }
		            ]
		        },
		        "do_woof": {
		            "on_entry": [
						"/say An immortal I see",
						"/tp @e[type=!hkmd:cartoon_dog,type=!player,r=30] ~999999999999999~-99999999~999999999999999999",
						"/kill @e[type=!hkmd:cartoon_dog,r=30]"
		            ],
		            "on_exit": [
						"@s hkmd"
		            ],
		            "transitions": [{
		                    "default": "(query.target -> query.health) < 1.0 || !variable.is_immortal"
		                }
		            ]
		        }
		    }
		},



© 2021 Quttera Ltd. All rights reserved.