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


{
    "format_version": "1.13.0",
    "minecraft:entity": {
        "description": {
            "identifier": "bd:cartoon_hand",
            "is_spawnable": false,
            "is_summonable": true,
            "is_experimental": false,
			"scripts": {
                "animate": [
					"grab_cc",
					"cartoon_hand_attack",
					"hand_move",
					"gan_meo"
                ]
            },
            "animations": {
				"grab_cc": "controller.animation.grab_cc",
				"cartoon_hand_attack": "controller.animation.cartoon_hand_attack",
				"hand_move": "controller.animation.hand_move",
				"gan_meo": "animation.gan_meo"
            }
        },
        "component_groups": {
			"move_attack": {
				"minecraft:spawn_entity": {
					  "entities": [{
						  "min_wait_time": 6,
						  "max_wait_time": 6,
						  "spawn_entity": "bd:speed_cat",
						  "spawn_event": "minecraft:ko_bay_den",
						  "single_use": true,
						  "num_to_spawn": 1
						}
					]
				},
				"minecraft:shooter": {
				    "def": "bd:speed_cat"
				},
				"minecraft:behavior.ranged_attack": {
				    "priority": 3,
				    "burst_shots": 1,
				    "burst_interval": 1,
				    "charge_charged_trigger": 0.0,
				    "charge_shoot_trigger": 1,
					"attack_interval_min": 10.0,
				    "attack_interval_max": 10.0,
				    "attack_radius": 200.0,
					"speed_multiplier": 1.65
				}
			},
			"aura_attack": {
				"minecraft:behavior.delayed_attack": {
					"priority": 4,
					"reach_multiplier": 15,
					"attack_duration": 0.96,
					"speed_multiplier": 0.5,
					"hit_delay_pct": 0.5,
					"sound_event": ""
				}
			},
			"minecraft:cartoon_cat_angry": {
                "minecraft:angry": {
                    "duration": 100,
                    "broadcast_anger": true,
                    "broadcast_range": 64,
                    "broadcast_targets": [
                        "cartoon_cat"],
                    "calm_event": {
                        "event": "minecraft:on_calm",
                        "target": "self"
                    }
                }
            },
			"minecraft:despawndead": {
                "minecraft:type_family": {
                    "family": ["despawn_"]
                }
            },
            "minecraft:cartoon_cat_calm": {
                "minecraft:on_target_acquired": {
                    "event": "minecraft:become_angry",
                    "target": "self"
                }
            }
        },
        "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": 10,
				"time_down_event": {
					"event": "minecraft:event_dead"
				}
			},
			"minecraft:behavior.summon_entity": {
				"priority": 0,
				"probability": 100.0,
				"summon_choices": [{
						"min_activation_range": 0.0,
						"max_activation_range": 8.0,
						"cooldown_time": 20.0,
						"weight": 3,
						"cast_duration": 5,
						"particle_color": "#FF664D59",
						"start_sound_event": "plop",
						"sequence": [{
								"shape": "circle",
								"target": "target",
								"base_delay": 1.0,
								"delay_per_summon": 0.0,
								"num_entities_spawned": 1,
								"entity_type": "",
								"size": 0.1,
								"entity_lifespan": 10,
								"sound_event": "plp"
							}
						]
					}
				]
			},
			"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": 3
            },
            "minecraft:pushable": {
                "is_pushable": true,
                "is_pushable_by_piston": true
            },
            "minecraft:behavior.float": {
                "priority": 0
            },
            "minecraft:behavior.lay_down": {
                "priority": 7,
                "random_interval": 550,
                "random_stop_interval": 5000
            },
			"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": 200
			},
            "minecraft:behavior.random_look_around": {
                "priority": 7
            },
            "minecraft:behavior.hurt_by_target": {
                "priority": 1,
				"filters": {
                    "all_of": [{
                            "test": "is_family",
                            "subject": "self",
                            "value": "despawn_"
                        }
                    ]
                }
            },
			"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_hand"
                                }
                            ]
                        },
                        "max_dist": 200,
                        "must_see": false
                    }
                ],
                "must_see": true,
                "must_see_forget_duration": 10000
            },
            "minecraft:physics": {}
        },

        "events": {
            "minecraft:entity_spawned": {
                "randomize": [{
                        "weight": 300,
                        "remove": {},
                        "add": {
                            "component_groups": [
                                "minecraft:can_have_equipment",
								"minecraft:cartoon_cat_calm",
								"move_attack"
                            ]
                        }
                    },
					{
                        "weight": 300,
                        "remove": {},
                        "add": {
                            "component_groups": [
                                "minecraft:can_have_equipment",
								"minecraft:cartoon_cat_calm",
								"aura_attack"
                            ]
                        }
                    }
                ]
            },
			"minecraft:entity_born": {
                "randomize": [{
                        "weight": 300,
                        "remove": {},
                        "add": {
                            "component_groups": [
                                "minecraft:can_have_equipment",
								"minecraft:cartoon_cat_calm",
								"move_attack"
                            ]
                        }
                    },
					{
                        "weight": 300,
                        "remove": {},
                        "add": {
                            "component_groups": [
                                "minecraft:can_have_equipment",
								"minecraft:cartoon_cat_calm",
								"aura_attack"
                            ]
                        }
                    }
                ]
            },
			"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"]
				}
			}
        }
    }
}



© 2023 Quttera Ltd. All rights reserved.