{
	"type": "origins:action_on_callback",
	"entity_action_chosen": {
		"type": "origins:and",
		"actions": [
			{
				"type": "origins:execute_command",
				"command": "execute as @s run function lightweaver:setup_chosen"
			}
		]
	},
	"entity_action_removed": {
		"type": "origins:if_else",
		"condition": {
			"type": "origins:origin",
			"origin": "lightweaver:lightweaver",
			"inverted": true
		},
		"if_action": {
			"type": "origins:and",
			"actions": [
				{
					"type": "origins:execute_command",
					"command": "execute as @s run function lightweaver:setup_lost"
				},
				{
					"type": "origins:execute_command",
					"command": "execute as @s run COMMANDHERE"
				}
			]
		}
	},
	"entity_action_added": {
		"type": "origins:if_else",
		"condition": {
			"type": "origins:origin",
			"origin": "lightweaver:lightweaver"
		},
		"if_action": {
			"type": "origins:and",
			"actions": [
				{
					"type": "origins:execute_command",
					"command": "execute as @s run function lightweaver:size"
				},
				{
					"type": "origins:execute_command",
					"command": "execute as @s run COMMANDHERE"
				}
			]
		}
	},
	"entity_action_respawned": {
		"type": "origins:if_else",
		"condition": {
			"type": "origins:origin",
			"origin": "lightweaver:lightweaver"
		},
		"if_action": {
			"type": "origins:and",
			"actions": [
				{
					"type": "origins:execute_command",
					"command": "execute as @s run function lightweaver:size"
				},
				{
					"type": "origins:execute_command",
					"command": "execute as @s run COMMANDHERE"
				}
			]
		}
	},
	"execute_chosen_when_orb": true,
	"loading_priority": 0,
	"hidden": true
}