{
	"format_version": "1.21.30",
	"minecraft:entity": {
		"description": {
			"identifier": "scpcf:scp_106_plasma_cage",
			"is_spawnable": true,
			"is_summonable": true,
			"is_experimental": false,
			"runtime_identifier": "minecraft:shulker"
		},
		"component_groups": {
			"scp106plasmacageactive": {
				"minecraft:rideable": {
					"seat_count": 1,
					"pull_in_entities": true,
					"family_types": [
						"scp106"
					],
					"seats": {
						"position": [
							0,
							0,
							0
						]
					}
				},
				"minecraft:interact": {
					"interactions": {
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									}
								]
							},
							"event": "scp106plasmacageuncontain",
							"target": "self"
						},
						"hurt_item": 0,
						"swing": true,
						"interact_text": "Release"
					}
				}
			},
			"scp106plasmacageinactive": {
				"minecraft:timer": {
					"looping": false,
					"time": 0.2,
					"time_down_event": {
						"event": "scp106plasmacagecontain"
					}
				}
			},
			"minecraft:death": {
				"minecraft:despawn": {}
			}
		},
		"components": {
			"minecraft:type_family": {
				"family": [
					"inanimate"
				]
			},
			"minecraft:collision_box": {
				"width": 1,
				"height": 0.4
			},
			"minecraft:interact": {
				"interactions": [
					{
						"on_interact": {
							"filters": {
								"all_of": [
									{
										"test": "is_family",
										"subject": "other",
										"value": "player"
									}
								]
							},
							"event": "scp106plasmacagedeath",
							"interact_text": "Remove"
						},
						"swing": true,
						"use_item": false
					}
				]
			},
			"minecraft:health": {
				"value": 25,
				"max": 25
			},
			"minecraft:damage_sensor": {
				"triggers": {
					"cause": "all",
					"deals_damage": true
				}
			},
			"minecraft:pushable": {
				"is_pushable": false,
				"is_pushable_by_piston": false
			},
			"minecraft:physics": {
				"has_gravity": false,
				"has_collision": false
			}
		},
		"events": {
			"minecraft:entity_spawned": {
				"add": {
					"component_groups": [
						"scp106plasmacageactive"
					]
				}
			},
			"scp106plasmacageuncontain": {
				"add": {
					"component_groups": [
						"scp106plasmacageinactive"
					]
				},
				"remove": {
					"component_groups": [
						"scp106plasmacageactive"
					]
				}
			},
			"scp106plasmacagecontain": {
				"add": {
					"component_groups": [
						"scp106plasmacageactive"
					]
				},
				"remove": {
					"component_groups": [
						"scp106plasmacageinactive"
					]
				}
			}
		}
	}
}