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


{
  "format_version": "1.21.50",
  "minecraft:entity": {
    "description": {
      "identifier": "target_dummy:target_dummy_entity",
      "is_summonable": true,
      "is_spawnable": false,
      "is_experimental": false,
      "properties": {
        "target_dummy:player_hurt_1":{
          "client_sync": true,
          "type": "bool",
          "default": false
        },
        "target_dummy:player_hurt_2":{
          "client_sync": true,
          "type": "bool",
          "default": false
        }
      }
    },
    "component_groups": {
      "minecraft:prepare_to_despawn": {
        "minecraft:spawn_entity": {
          "entities": [
            {
              "min_wait_time": 0,
              "max_wait_time": 0,
              "single_use": true,
              "spawn_item": "target_dummy:target_dummy_item",
              "spawn_item_event": {
                "event": "minecraft:despawn_entity"
              },
              "num_to_spawn": 1
            }
          ]
        }
      },

      "minecraft:can_despawn": {
        "minecraft:instant_despawn": {}
      }
    },

    "components": {
      "minecraft:nameable": {
      },
      "minecraft:health": {
        "value": 1000
      },
      "minecraft:type_family": {
        "family": [
          "inanimate"
        ]
      },
      "minecraft:hurt_on_condition": {
        "damage_conditions": [
          {
            "filters": {
              "test": "in_lava",
              "subject": "self",
              "operator": "==",
              "value": true
            },
            "cause": "lava",
            "damage_per_tick": 4
          }
        ]
      },
      "minecraft:interact": {
        "interactions": [
          {
            "on_interact": {
              "filters": {
                "all_of": [
                  {
                    "test": "is_family",
                    "subject" : "other",
                    "value" : "player"
                  },
                  {
                    "test": "is_sneaking",
                    "subject": "player",
                    "value": true
                  }
                ]
              },
              "event": "minecraft:on_destroy_entity"
            },
            "interact_text": "action.interact.on_destroy"
          }
        ]
      },
      "minecraft:knockback_resistance": {
        "value": 100
      },
      "minecraft:collision_box": {
        "width": 0.5,
        "height": 1.8
      },
      "minecraft:persistent": {
      },
      "minecraft:conditional_bandwidth_optimization": {
      },
      "minecraft:physics": {
      },
      "minecraft:pushable": {
        "is_pushable": false,
        "is_pushable_by_piston": true
      }
    },
    "events": {
      "minecraft:on_place_entity": {
        "queue_command": {
          "command": [
            "playsound mob.armor_stand.place @a[r=10] ~~~",
            "effect @s regeneration infinite 255 true"
          ]
        }
      },

      "minecraft:on_destroy_entity": {
        "add": {
          "component_groups": [
            "minecraft:prepare_to_despawn"
          ]
        }
      },

      "minecraft:despawn_entity": {
        "queue_command": {
          "command": [
            "playsound mob.armor_stand.break @a[r=10] ~~~"
          ]
        },
        "add": {
          "component_groups": [
            "minecraft:can_despawn"
          ]
        }
      },

      "minecraft:on_hurt_entity": {
        "sequence": [
          {
            "filters": {
              "test": "has_tag",
              "subject": "self",
              "operator": "!=",
              "value": "get_hurt"
            },
            "set_property": {
              "target_dummy:player_hurt_2": false,
              "target_dummy:player_hurt_1": true
            },
            "queue_command": {
              "command": [
                "tag @s add get_hurt"
              ]
            }
          },
          {
            "filters": {
              "test": "has_tag",
              "subject": "self",
              "operator": "==",
              "value": "get_hurt"
            },
            "set_property": {
              "target_dummy:player_hurt_1": false,
              "target_dummy:player_hurt_2": true
            },
            "queue_command": {
              "command": [
                "tag @s remove get_hurt"
              ]
            }
          }
        ]
      }
    }
  }
}



© 2023 Quttera Ltd. All rights reserved.