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


	{
		"format_version":"1.20.50","minecraft:entity":{
			"description":{
			"identifier":"backpack:entity_container","is_spawnable":true,"is_summonable":true,"is_experimental":false
		}
			,"component_groups":{
				"timeout":{
					"minecraft:timer":{
						"looping":false,"time":2,"time_down_event":{
						"event":"close"
					}
				}
			}
				,"reset_health":{
					"minecraft:health":{
					"value":9,"max":9,"min":1
				}
					,"minecraft:breathable":{
					"breathes_solids":true,"breathes_lava":true,"generates_bubbles":false
				}
			}
				,"despawn":{
					"minecraft:instant_despawn":{
				}
			}
				,"open":{
					"minecraft:entity_sensor":{
						"sensor_range":0.5,"relative_range":false,"minimum_count":1,"event_filters":{
							"any_of":[{
								"all_of":[{
								"test":"is_family","subject":"other","value":"player"
							}
								,{
								"test":"has_container_open","operator":"!=","subject":"other"
							}
							]
						}
						]
					}
					,"event":"close"
				}
			}
				,"close":{
					"minecraft:entity_sensor":{
						"sensor_range":0.5,"relative_range":false,"minimum_count":1,"event_filters":{
							"any_of":[{
								"all_of":[{
								"test":"is_family","subject":"other","value":"player"
							}
								,{
								"test":"has_container_open","subject":"other"
							}
							]
						}
						]
					}
					,"event":"open"
				}
			}
				,"default":{
					"minecraft:inventory":{
					"container_type":"inventory","inventory_size":44,"private":false
				}
			}
				,"small":{
					"minecraft:inventory":{
					"container_type":"inventory","inventory_size":63,"private":false
				}
			}
				,"medium":{
					"minecraft:inventory":{
					"container_type":"inventory","inventory_size":80,"private":false
				}
			}
				,"big":{
					"minecraft:inventory":{
					"container_type":"inventory","inventory_size":130,"private":false
				}
			}
		}
			,"components":{
				"minecraft:is_tamed":{
			}
				,"minecraft:is_saddled":{
			}
				,"minecraft:type_family":{
				"family":["backpack"]
			}
				,"minecraft:breathable":{
				"breathes_solids":true,"breathes_lava":true,"generates_bubbles":false
			}
				,"minecraft:entity_sensor":{
					"sensor_range":0.5,"relative_range":false,"minimum_count":1,"event_filters":{
						"any_of":[{
							"all_of":[{
							"test":"is_family","subject":"other","value":"player"
						}
							,{
							"test":"has_container_open","subject":"other"
						}
						]
					}
					]
				}
				,"event":"open"
			}
				,"minecraft:inventory":{
				"container_type":"inventory","inventory_size":200,"private":false
			}
				,"minecraft:damage_sensor":{
					"triggers":{
					"cause":"all","deals_damage":false
				}
			}
				,"minecraft:persistent":{
			}
				,"minecraft:tick_world":{
			}
				,"minecraft:fire_immune":true,"minecraft:health":{
				"value":9,"max":9
			}
				,"minecraft:collision_box":{
				"height":1,"width":0.5
			}
				,"minecraft:nameable":{
				"allow_name_tag_renaming":false,"always_show":false
			}
				,"minecraft:knockback_resistance":{
				"value":1
			}
				,"minecraft:physics":{
				"has_collision":false,"has_gravity":false
			}
				,"minecraft:pushable":{
				"is_pushable":false,"is_pushable_by_piston":false
			}
		}
			,"events":{
				"timeout":{
					"remove":{
					"component_groups":["timeout"]
				}
					,"add":{
					"component_groups":["timeout"]
				}
			}
				,"reset_health":{
					"add":{
					"component_groups":["reset_health"]
				}
					,"queue_command":{
					"command":["tag @s remove default","tag @s remove small","tag @s remove medium","tag @s remove big"]
				}
			}
				,"despawn":{
					"add":{
					"component_groups":["despawn"]
				}
					,"queue_command":{
					"command":"effect @s Nausea 1 11 true"
				}
			}
				,"despawn2":{
					"add":{
					"component_groups":["despawn"]
				}
			}
				,"open":{
					"sequence":[{
						"add":{
						"component_groups":["open"]
					}
						,"remove":{
						"component_groups":["close"]
					}
				}
				]
			}
				,"close":{
					"remove":{
					"component_groups":["open"]
				}
					,"add":{
					"component_groups":["close"]
				}
					,"queue_command":{
					"command":"tag @s add close"
				}
			}
				,"default":{
					"add":{
					"component_groups":["default"]
				}
			}
				,"small":{
					"add":{
					"component_groups":["small"]
				}
			}
				,"medium":{
					"add":{
					"component_groups":["medium"]
				}
			}
				,"big":{
					"add":{
					"component_groups":["big"]
				}
			}
		}
	}
}



© 2023 Quttera Ltd. All rights reserved.