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


{
    "format_version": "1.13.0",
    "minecraft:entity": {
        "description": {
            "identifier": "ho:cartoon_mouse",
            "is_spawnable": true,
            "is_summonable": true,
            "is_experimental": false,
			"scripts": {
                "animate": [
					"climbing",
					"see",
					"jump",
					"regen",
					"mouse_chase",
					"cartoon_mouse_sneak",
					"cartoon_mouse_do_cast",
					"break",
					"cm_catch",
					"attack",
					"quay_lai"
                ]
            },
            "animations": {
				"break": "controller.animation.cartoon_mouse_break",
				"climbing": "controller.animation.cartoon_mouse_climb",
				"see": "controller.animation.cartoon_mouse_see",
				"jump": "controller.animation.cartoon_mouse_jump",
				"regen": "controller.animation.cartoon_mouse_regen",
				"mouse_music": "animation.mouse_music",
				"cm_catch": "controller.animation.cm_catch",
				"mouse_chase": "controller.animation.mouse_chase",
				"cartoon_mouse_do_cast": "controller.animation.cartoon_mouse_do_cast",
				"cartoon_mouse_sneak": "controller.animation.cartoon_mouse_sneak",
				"attack": "controller.animation.cartoon_mouse_attack",
				"grow_tentacle": "animation.grow_tentacle",
				"quay_lai": "controller.animation.mouse_quay_lai"
            }
        },
        "component_groups": {
			"quay_lai": {
				"minecraft:transformation": {
                    "into": "ho:cartoon_mouse<minecraft:entity_spawned>"
                }
			},
			"thanh_meo": {
				"minecraft:transformation": {
                    "into": "minecraft:mouse<minecraft:entity_spawned>"
                }
			},
			"start_talk": {
				"minecraft:timer": {
                    "looping": true,
                    "time": 40,
                    "time_down_event": {
                        "event": "minecraft:random_talk"
                    }
                }
			},
			"change_size_big": {
				"minecraft:scale_by_age": {
					"start_scale": 1.0,
					"end_scale": 15.0
				},
				"minecraft:ageable": {
				    "duration": 10,
				    "grow_up": {
				        "event": "to_big",
				        "target": "self"
				    }
				},
				"minecraft:is_baby":{},
				"minecraft:attack": {
					"damage": 300
				}
			},
			"to_big": {
				"minecraft:scale": {
					"value": 15.0
				},
				"minecraft:attack": {
					"damage": 300
				}
			},
			"change_size_bigger": {
				"minecraft:scale_by_age": {
					"start_scale": 1.0,
					"end_scale": 20.0
				},
				"minecraft:ageable": {
				    "duration": 15,
				    "grow_up": {
				        "event": "to_biggest",
				        "target": "self"
				    }
				},
				"minecraft:is_baby":{},
				"minecraft:attack": {
					"damage": 10000
				}
			},
			"to_biggest": {
				"minecraft:scale": {
					"value": 20.0
				},
				"minecraft:attack": {
					"damage": 100
				}
			},
			"change_size_normal": {
				"minecraft:scale": {
					"value": 1.0
				},
				"minecraft:attack": {
					"damage": 100
				}
			},
			"first_word": {
				"minecraft:variant": {
					"value": 0
				}
			},
			"talk1": {
				"minecraft:variant": {
					"value": 1
				}
			},
			"talk2": {
				"minecraft:variant": {
					"value": 2
				}
			},
			"talk3": {
				"minecraft:variant": {
					"value": 3
				}
			},
			"talk4": {
				"minecraft:variant": {
					"value": 4
				}
			},
			"talk5": {
				"minecraft:variant": {
					"value": 5
				}
			},
			"talk6": {
				"minecraft:variant": {
					"value": 6
				}
			},
			"talk7": {
				"minecraft:variant": {
					"value": 7
				}
			},
			"talk8": {
				"minecraft:variant": {
					"value": 8
				}
			},
			"talk9": {
				"minecraft:variant": {
					"value": 9
				}
			},
			"talk10": {
				"minecraft:variant": {
					"value": 10
				}
			},
			"talk11": {
				"minecraft:variant": {
					"value": 11
				}
			},
			"talk12": {
				"minecraft:variant": {
					"value": 12
				}
			},
			"talk13": {
				"minecraft:variant": {
					"value": 13
				}
			},
			"talk14": {
				"minecraft:variant": {
					"value": 14
				}
			},
			"talk15": {
				"minecraft:variant": {
					"value": 15
				}
			},
			"talk16": {
				"minecraft:variant": {
					"value": 16
				}
			},
			"talk17": {
				"minecraft:variant": {
					"value": 17
				}
			},
			"talk18": {
				"minecraft:variant": {
					"value": 18
				}
			},
			"talk19": {
				"minecraft:variant": {
					"value": 19
				}
			},
			"talk20": {
				"minecraft:variant": {
					"value": 20
				}
			},
			"talk21": {
				"minecraft:variant": {
					"value": 21
				}
			},
			"talk22": {
				"minecraft:variant": {
					"value": 22
				}
			},
			"talk23": {
				"minecraft:variant": {
					"value": 23
				}
			},
			"talk24": {
				"minecraft:variant": {
					"value": 24
				}
			},
			"talk25": {
				"minecraft:variant": {
					"value": 25
				}
			},
			"talk26": {
				"minecraft:variant": {
					"value": 26
				}
			},
			"talk27": {
				"minecraft:variant": {
					"value": 27
				}
			},
			"talk28": {
				"minecraft:variant": {
					"value": 28
				}
			},
			"talk29": {
				"minecraft:variant": {
					"value": 29
				}
			},
			"talk30": {
				"minecraft:variant": {
					"value": 30
				}
			},
			"talk31": {
				"minecraft:variant": {
					"value": 31
				}
			},
			"talk32": {
				"minecraft:variant": {
					"value": 32
				}
			},
			"talk33": {
				"minecraft:variant": {
					"value": 33
				}
			},
			"talk34": {
				"minecraft:variant": {
					"value": 34
				}
			},
			"talk35": {
				"minecraft:variant": {
					"value": 35
				}
			},
			"talk36": {
				"minecraft:variant": {
					"value": 36
				}
			},
			"talk37": {
				"minecraft:variant": {
					"value": 37
				}
			},
			"talk38": {
				"minecraft:variant": {
					"value": 38
				}
			},
			"talk39": {
				"minecraft:variant": {
					"value": 39
				}
			},
			"talk40": {
				"minecraft:variant": {
					"value": 40
				}
			},
			"minecraft:move_nor": {
				"minecraft:movement": {
					"value": 0.25
				}
			},
			"minecraft:move_slow": {
				"minecraft:movement": {
					"value": 0.1
				}
			},
			"minecraft:knock": {
				"minecraft:spawn_entity": {
				  "entities": [{
						  "min_wait_time": 0,
						  "max_wait_time": 0,
						  "spawn_entity": "ho:slam3",
						  "single_use": true,
						  "num_to_spawn": 1
						}
					]
				}
			}
		},
        "components": {
            "minecraft:nameable": {},

            "minecraft:type_family": {
                "family": ["cartoon_mouse", "monster", "can_throw"]
            },
            "minecraft:underwater_movement": {
                "value": 0.3
            },
            "minecraft:collision_box": {
                "width": 0.6,
                "height": 1.85
            },
			"minecraft:rideable": {
				"seat_count": 108,
				"family_types": ["mouse_tentacle", "mouse_tentacle2"],
				"rider_can_interact": false,
				"pull_in_entities": true,
				"seats": [
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},
					{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]
					},{
						"position": [0, 1, -0.3]
					},
					{
						"position": [0.2, 1, -0.3]
					},
					{
						"position": [-0.2, 1, -0.3]    //108 arm
					}
				]
			},
            "minecraft:movement.basic": {},
			"minecraft:navigation.climb": {
				"can_path_over_water": true,
				"can_pass_doors": true,
                "can_open_doors": true,
				"can_path_from_air": true
			},
			"minecraft:jump.static": {},
            "minecraft:annotation.open_door": {},
            "minecraft:knockback_resistance": {
                "value": 10
            },
			"minecraft:fire_immune": true,
            "minecraft:can_climb": {},
            "minecraft:behavior.float": {
                "priority": 0
            },
            "minecraft:health": {
                "value": 42018,
                "max": 42018
            },
			"minecraft:behavior.melee_attack": {
				"priority": 3,
				"speed_multiplier": 2,
				"reach_multiplier": 7
			},
            "minecraft:loot": {
                "table": "loot_tables/entities/cartoon_mouse.json"
            },
            "minecraft:behavior.move_towards_restriction": {
                "priority": 5,
                "speed_multiplier": 1.0
            },
            "minecraft:behavior.random_stroll": {
                "priority": 6,
                "speed_multiplier": 1.0
            },
            "minecraft:behavior.look_at_player": {
                "priority": 7,
                "look_distance": 6,
                "probability": 0.02
            },
			"minecraft:tick_world": {
			  "distance_to_players": true,
			  "never_despawn": true,
			  "radius": 5,
			  "ticking_area": 4
			},
			"minecraft:floats_in_liquid": {},
            "minecraft:behavior.random_look_around": {
                "priority": 7
            },
			"minecraft:damage_sensor": {
				"triggers": [{
						"deals_damage": false,
						"on_damage": {
							"event": "minecraft:thanh_meo",
							"filters": {
								"all_of": [{
										"domain": "hand",
										"operator": "==",
										"subject": "other",
										"test": "has_equipment",
										"value": "bd:trevorsword"
									}, {
										"test": "has_damage",
										"value": "attack"
									}
								]
							}
						}
					}, {
						"deals_damage": true,
						"on_damage": {
							"event": "minecraft:dodge",
							"filters": {
								"all_of": [{
										"test": "has_damage",
										"value": "attack"
									}
								]
							}
						}
					}
				]
			},
			"minecraft:despawn": {
                "filters": {
					"any_of": [{
							"test": "has_tag",
							"operator": "!=",
							"subject": "self",
							"value": "ko_chet"
						}, {
							"test": "has_tag",
							"operator": "==",
							"subject": "self",
							"value": "van_song"
						}
					]
                }
            },
			"minecraft:behavior.lay_down": {
                "priority": 7,
                "random_interval": 230,
                "random_stop_interval": 2300
            },
            "minecraft:behavior.hurt_by_target": {
                "priority": 1,
                "entity_types": {
                    "filters": {
                        "test": "is_family",
                        "subject": "other",
                        "operator": "!=",
                        "value": "cartoon_mouse"
                    },
                    "max_dist": 200
                }
            },
            "minecraft:follow_range": {
                "value": 1000
            },
			"minecraft:pushable": {
				"is_pushable": true,
				"is_pushable_by_piston": true
			},
            "minecraft:behavior.nearest_attackable_target": {
                "priority": 2,
                "within_radius": 1000,
                "reselect_targets": true,
                "entity_types": [{
                        "filters": {
                            "any_of": [{
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "player"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "snowgolem"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "irongolem"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "illager"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "siren_head"
                                }
                            ]
                        },
                        "max_dist": 1000,
                        "must_see": true
                    }, {
                        "filters": {
                            "any_of": [{
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "villager"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
                                    "value": "wandering_trader"
                                }
                            ]
                        },
                        "max_dist": 1000,
                        "must_see": false
                    }
                ],
                "must_see": true,
                "must_see_forget_duration": 10000
            },
            "minecraft:physics": {}
        },

        "events": {
			"minecraft:entity_spawned": {
                "add": {
					"component_groups": [
						"first_word",
						"start_talk",
						"change_size_normal",
						"minecraft:move_nor"
					]
				}
            },
			"minecraft:start_knock": {
				"add": {
				  "component_groups": ["minecraft:knock"]
				}
			},
			"minecraft:quay_lai": {
				"add": {
				  "component_groups": ["quay_lai"]
				}
			},
			"minecraft:thanh_meo": {
				"add": {
				  "component_groups": ["thanh_meo"]
				}
			},
			"minecraft:fast_mode": {
				"add": {
				  "component_groups": ["minecraft:move_nor"]
				},
				"remove": {
				  "component_groups": ["minecraft:move_slow"]
				}
			},
			"minecraft:sneak_mode": {
				"add": {
				  "component_groups": ["minecraft:move_slow"]
				},
				"remove": {
				  "component_groups": ["minecraft:move_nor"]
				}
			},
			"minecraft:bigger_size": {
				"add": {
				  "component_groups": ["change_size_big"]
				},
				"remove": {
				  "component_groups": ["change_size_normal", "change_size_bigger"]
				}
			},
			"to_big": {
				"add": {
				  "component_groups": ["to_big"]
				},
				"remove": {
				  "component_groups": ["change_size_normal", "change_size_bigger", "change_size_big"]
				}
			},
			"minecraft:normal_size": {
				"add": {
				  "component_groups": ["change_size_normal"]
				},
				"remove": {
				  "component_groups": ["change_size_big", "change_size_bigger"]
				}
			},
			"minecraft:biggest_size": {
				"add": {
				  "component_groups": ["change_size_bigger"]
				},
				"remove": {
				  "component_groups": ["change_size_big", "change_size_normal"]
				}
			},
			"to_biggest": {
				"add": {
				  "component_groups": ["to_biggest"]
				},
				"remove": {
				  "component_groups": ["change_size_normal", "change_size_bigger", "change_size_bigger"]
				}
			},
			"minecraft:random_talk": {
                "randomize": [{
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk1"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk2"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk3"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk4"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk5"]
                        }
                    },  {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk6"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk7"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk8"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk9"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk10"]
                        }
                    }, {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk11"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk12"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk13"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk14"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk15"]
                        }
                    }, {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk16"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk17"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk18"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk19"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk20"]
                        }
                    }, {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk21"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk22"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk23"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk24"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk25"]
                        }
                    }, {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk26"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk27"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk28"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk29"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk30"]
                        }
                    }, {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk31"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk32"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk33"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk34"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk35"]
                        }
                    }, {
                        "weight": 50,
                        "add": {
                            "component_groups": ["talk36"]
                        }
                    }, {
                        "weight": 40,
                        "add": {
                            "component_groups": ["talk37"]
                        }
                    }, {
                        "weight": 30,
                        "add": {
                            "component_groups": ["talk38"]
                        }
                    }, {
                        "weight": 20,
                        "add": {
                            "component_groups": ["talk39"]
                        }
                    }, {
                        "weight": 10,
                        "add": {
                            "component_groups": ["talk40"]
                        }
                    }
                ]
            }
		}
    }
}



© 2023 Quttera Ltd. All rights reserved.