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


{
    "format_version": "1.10.0",
    "minecraft:entity": {
        "description": {
            "identifier": "bd:cartoon_hand2",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false,
			"scripts": {
                "animate": [
					"cartoon_hand_attack",
					"hand_move",
					"gan_meo"
                ]
            },
            "animations": {
				"cartoon_hand_attack": "controller.animation.cartoon_hand2_attack",
				"hand_move": "controller.animation.hand_move",
				"gan_meo": "animation.gan_meo"
            }
        },
        "component_groups": {
			"minecraft:despawndead": {
                "minecraft:type_family": {
                    "family": ["despawn_"]
                }
            },
			"minecraft:knock": {
				"minecraft:spawn_entity": {
				  "entities": [{
						  "min_wait_time": 0,
						  "max_wait_time": 0,
						  "spawn_entity": "bd:speed_cat",
						  "single_use": true,
						  "num_to_spawn": 1
						}
					]
				}
			}
        },
        "components": {
            "minecraft:nameable": {},

            // cartoon_cat Components
            "minecraft:type_family": {
                "family": ["cartoon_cat", "monster", "cartoon_hand"]
            },
            "minecraft:collision_box": {
                "width": 0.6,
                "height": 1.3
            },
			"minecraft:timer": {
				"looping": false,
				"randomInterval": false,
				"time": 3,
				"time_down_event": {
					"event": "minecraft:event_dead"
				}
			},
			"minecraft:behavior.delayed_attack": {
				"priority": 4,
				"reach_multiplier": 50,
				"attack_duration": 1.7,
				"speed_multiplier": 0.0,
				"hit_delay_pct": 0.8,
				"sound_event": ""
			},
			"minecraft:movement.basic": {},
			"minecraft:navigation.walk": {
				"can_pass_doors": true,
				"can_open_doors": true,
				"can_walk": true
			},
			"minecraft:damage_sensor": {
				"triggers": [{
						"cause": "fatal",
						"deals_damage": false
					}
				]
			},
            "minecraft:annotation.open_door": {},
            "minecraft:jump.static": {},
            "minecraft:can_climb": {},
            "minecraft:attack": {
                "damage": 100000
            },
            "minecraft:pushable": {
                "is_pushable": true,
                "is_pushable_by_piston": true
            },
            "minecraft:behavior.float": {
                "priority": 0
            },
			"minecraft:knockback_resistance": {
                "value": 0.6
            },
            "minecraft:health": {
                "value": 30,
                "max": 30,
				"min": 30
            },
            "minecraft:breathable": {
                "totalSupply": 15,
                "suffocateTime": 0,
                "breathesAir": true,
                "breathesWater": true
            },
            "minecraft:loot": {
                "table": "loot_tables/entities/cartoon_cat.json"
            },

            // cartoon_cat Behaviors
            "minecraft:behavior.move_towards_restriction": {
                "priority": 5,
                "speed_multiplier": 0.8
            },
            "minecraft:behavior.random_stroll": {
                "priority": 6,
                "speed_multiplier": 0.8
            },
            "minecraft:behavior.look_at_player": {
                "priority": 7,
                "look_distance": 6,
                "probability": 0.02
            },
			"minecraft:follow_range": {
				"value": 64
			},
            "minecraft:behavior.random_look_around": {
                "priority": 7
            },
            "minecraft:behavior.hurt_by_target": {
                "priority": 1
            },
			"minecraft:despawn": {
                "filters": {
                    "all_of": [{
                            "test": "is_family",
                            "subject": "self",
                            "value": "despawn_"
                        }
                    ]
                }
            },
            "minecraft:behavior.nearest_attackable_target": {
                "priority": 2,
                "within_radius": 200,
                "reselect_targets": true,
                "entity_types": [{
                        "filters": {
                            "all_of": [{
                                    "test": "is_family",
                                    "subject": "other",
									"operator": "!=",
                                    "value": "cartoon_cat"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
									"operator": "!=",
                                    "value": "inanimate"
                                }, {
                                    "test": "is_family",
                                    "subject": "other",
									"operator": "!=",
                                    "value": "cartoon_hand2"
                                }
                            ]
                        },
                        "max_dist": 200,
                        "must_see": false
                    }
                ],
                "must_see": true,
                "must_see_forget_duration": 10000
            },
            "minecraft:physics": {}
        },

        "events": {
            "minecraft:entity_spawned": {
                "randomize": [{
                        "weight": 580,
                        "remove": {},
                        "add": {
                            "component_groups": [
                                "minecraft:can_have_equipment",
								"minecraft:cartoon_cat_calm"
                            ]
                        }
                    },
					{
                        "weight": 300,
                        "remove": {},
                        "add": {
                            "component_groups": [
                                "minecraft:can_have_equipment",
								"minecraft:cartoon_cat_calm"
                            ]
                        }
                    }
                ]
            },
			"minecraft:become_angry": {
				"remove": {
					"component_groups": [
						"minecraft:cartoon_cat_calm"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:cartoon_cat_angry"
					]
				}
			},
			"minecraft:on_calm": {
				"remove": {
					"component_groups": [
						"minecraft:cartoon_cat_angry"
					]
				},
				"add": {
					"component_groups": [
						"minecraft:cartoon_cat_calm"
					]
				}
			},
			"minecraft:event_dead": {
                "add": {
                    "component_groups": ["minecraft:despawndead"]
                }
            },
			"minecraft:start_knock": {
				"add": {
				  "component_groups": ["minecraft:knock", "grow"]
				}
			}
        }
    }
}



© 2023 Quttera Ltd. All rights reserved.