{
	"file_path": "C:\\Users\\Hp\\AppData\\Local\\Packages\\Microsoft.MinecraftUWP_8wekyb3d8bbwe\\LocalState\\games\\com.mojang\\development_behavior_packs\\Hyva Furniture (B)\\blocks\\curtain.json",
	"file_type": "block",
	"format_version": 1,
	"file_uuid": "1bfa5f19_0c19_45d1_b33a_e768635d38cf",
	"file_version": 12,
	"cache_content": {
		"children": [
			{
				"data": "1.17.0",
				"key": "format_version"
			},
			{
				"open": {
					"format_version": "1.17.0",
					"minecraft:block": {
						"description": {
							"identifier": "hf:curtain",
							"properties": {
								"hf:active": [
									0,
									1,
									2,
									3,
									4,
									5,
									6,
									7
								],
								"hf:movement": [
									0,
									1,
									2
								]
							}
						},
						"components": {
							"minecraft:destroy_time": 4,
							"minecraft:material_instances": {
								"*": {
									"texture": "curtain_beige",
									"render_method": "alpha_test"
								}
							},
							"minecraft:geometry": "geometry.curtain_closed",
							"bridge:rotate_y_on_place": {
								"flip": true
							},
							"minecraft:block_light_absorption": 0,
							"minecraft:creative_category": {
								"group": "itemGroup.name.Items",
								"category": "Items"
							},
							"minecraft:on_interact": {
								"event": "event_0"
							},
							"minecraft:entity_collision": {
								"origin": [
									-8,
									0,
									6
								],
								"size": [
									16,
									16,
									2
								]
							},
							"minecraft:pick_collision": {
								"origin": [
									-8,
									0,
									6
								],
								"size": [
									16,
									16,
									2
								]
							}
						},
						"events": {
							"variant": {
								"set_block_property": {
									"hf:active": 1
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"variant2": {
								"set_block_property": {
									"hf:active": 2
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"variant3": {
								"set_block_property": {
									"hf:active": 3
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"variant4": {
								"set_block_property": {
									"hf:active": 4
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"variant5": {
								"set_block_property": {
									"hf:active": 5
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"variant6": {
								"set_block_property": {
									"hf:active": 6
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"variant7": {
								"set_block_property": {
									"hf:active": 7
								},
								"run_command": {
									"command": [
										"playsound dig.soul_sand @p ~~~ 1 1",
										"particle minecraft:totem_particle ~~~"
									]
								}
							},
							"event_0": {
								"sequence": [
									{
										"trigger": {
											"event": "variant"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"event_1": {
								"sequence": [
									{
										"trigger": {
											"event": "variant2"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"event_2": {
								"sequence": [
									{
										"trigger": {
											"event": "variant3"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"event_3": {
								"sequence": [
									{
										"trigger": {
											"event": "variant4"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"event_4": {
								"sequence": [
									{
										"trigger": {
											"event": "variant5"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"event_5": {
								"sequence": [
									{
										"trigger": {
											"event": "variant6"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"event_6": {
								"sequence": [
									{
										"trigger": {
											"event": "variant7"
										},
										"condition": "query.get_equipped_item_name=='magicpen'"
									},
									{
										"set_block_property": {
											"hf:movement": 1
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										},
										"condition": "query.get_equipped_item_name!='magicpen'"
									}
								]
							},
							"closesound": {
								"set_block_property": {
									"hf:movement": 2
								},
								"run_command": {
									"command": [
										"playsound land.sand @p ~~1~ 1 1"
									]
								}
							}
						},
						"permutations": [
							{
								"condition": "query.block_property('hf:active') == 1",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_black",
											"render_method": "alpha_test"
										}
									},
									"minecraft:on_interact": {
										"event": "event_1"
									}
								}
							},
							{
								"condition": "query.block_property('hf:active') == 2",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_darkblue",
											"render_method": "alpha_test"
										}
									},
									"minecraft:on_interact": {
										"event": "event_2"
									}
								}
							},
							{
								"condition": "query.block_property('hf:active') == 3",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_orange",
											"render_method": "alpha_test"
										}
									},
									"minecraft:on_interact": {
										"event": "event_3"
									}
								}
							},
							{
								"condition": "query.block_property('hf:active') == 4",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_plumpurple",
											"render_method": "alpha_test"
										}
									},
									"minecraft:on_interact": {
										"event": "event_4"
									}
								}
							},
							{
								"condition": "query.block_property('hf:active') == 5",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_white",
											"render_method": "alpha_test"
										}
									},
									"minecraft:on_interact": {
										"event": "event_5"
									}
								}
							},
							{
								"condition": "query.block_property('hf:active') == 6",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_yellow",
											"render_method": "alpha_test"
										}
									},
									"minecraft:on_interact": {
										"event": "event_6"
									}
								}
							},
							{
								"condition": "query.block_property('hf:active') == 7",
								"components": {
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_beige"
										}
									}
								}
							},
							{
								"condition": "query.block_property('hf:movement') == 1",
								"components": {
									"minecraft:geometry": "geometry.curtain_open",
									"minecraft:on_interact": {
										"event": "closesound"
									}
								}
							},
							{
								"condition": "query.block_property('hf:movement') == 2",
								"components": {
									"minecraft:geometry": "geometry.curtain_closed"
								}
							}
						]
					}
				},
				"key": "minecraft:block",
				"children": [
					{
						"open": {
							"description": {
								"identifier": "hf:curtain",
								"properties": {
									"hf:active": [
										0,
										1,
										2,
										3,
										4,
										5,
										6,
										7
									],
									"hf:movement": [
										0,
										1,
										2
									]
								}
							},
							"components": {
								"minecraft:destroy_time": 4,
								"minecraft:material_instances": {
									"*": {
										"texture": "curtain_beige",
										"render_method": "alpha_test"
									}
								},
								"minecraft:geometry": "geometry.curtain_closed",
								"bridge:rotate_y_on_place": {
									"flip": true
								},
								"minecraft:block_light_absorption": 0,
								"minecraft:creative_category": {
									"group": "itemGroup.name.Items",
									"category": "Items"
								},
								"minecraft:on_interact": {
									"event": "event_0"
								},
								"minecraft:entity_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								},
								"minecraft:pick_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								}
							},
							"events": {
								"variant": {
									"set_block_property": {
										"hf:active": 1
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant2": {
									"set_block_property": {
										"hf:active": 2
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant3": {
									"set_block_property": {
										"hf:active": 3
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant4": {
									"set_block_property": {
										"hf:active": 4
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant5": {
									"set_block_property": {
										"hf:active": 5
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant6": {
									"set_block_property": {
										"hf:active": 6
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant7": {
									"set_block_property": {
										"hf:active": 7
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"event_0": {
									"sequence": [
										{
											"trigger": {
												"event": "variant"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_1": {
									"sequence": [
										{
											"trigger": {
												"event": "variant2"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_2": {
									"sequence": [
										{
											"trigger": {
												"event": "variant3"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_3": {
									"sequence": [
										{
											"trigger": {
												"event": "variant4"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_4": {
									"sequence": [
										{
											"trigger": {
												"event": "variant5"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_5": {
									"sequence": [
										{
											"trigger": {
												"event": "variant6"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_6": {
									"sequence": [
										{
											"trigger": {
												"event": "variant7"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"closesound": {
									"set_block_property": {
										"hf:movement": 2
									},
									"run_command": {
										"command": [
											"playsound land.sand @p ~~1~ 1 1"
										]
									}
								}
							},
							"permutations": [
								{
									"condition": "query.block_property('hf:active') == 1",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_black",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_1"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 2",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_darkblue",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_2"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 3",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_orange",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_3"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 4",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_plumpurple",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_4"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 5",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_white",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_5"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 6",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_yellow",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_6"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 7",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_beige"
											}
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 1",
									"components": {
										"minecraft:geometry": "geometry.curtain_open",
										"minecraft:on_interact": {
											"event": "closesound"
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 2",
									"components": {
										"minecraft:geometry": "geometry.curtain_closed"
									}
								}
							]
						},
						"key": "description",
						"children": [
							{
								"open": {
									"identifier": "hf:curtain",
									"properties": {
										"hf:active": [
											0,
											1,
											2,
											3,
											4,
											5,
											6,
											7
										],
										"hf:movement": [
											0,
											1,
											2
										]
									}
								},
								"data": "hf:curtain",
								"key": "identifier"
							},
							{
								"open": {
									"identifier": "hf:curtain",
									"properties": {
										"hf:active": [
											0,
											1,
											2,
											3,
											4,
											5,
											6,
											7
										],
										"hf:movement": [
											0,
											1,
											2
										]
									}
								},
								"key": "properties",
								"children": [
									{
										"key": "hf:active",
										"is_minified": true,
										"children": [
											0,
											1,
											2,
											3,
											4,
											5,
											6,
											7
										]
									},
									{
										"open": {
											"hf:active": [
												0,
												1,
												2,
												3,
												4,
												5,
												6,
												7
											],
											"hf:movement": [
												0,
												1,
												2
											]
										},
										"key": "hf:movement",
										"is_minified": true,
										"children": [
											0,
											1,
											2
										]
									}
								]
							}
						]
					},
					{
						"open": {
							"description": {
								"identifier": "hf:curtain",
								"properties": {
									"hf:active": [
										0,
										1,
										2,
										3,
										4,
										5,
										6,
										7
									],
									"hf:movement": [
										0,
										1,
										2
									]
								}
							},
							"components": {
								"minecraft:destroy_time": 4,
								"minecraft:material_instances": {
									"*": {
										"texture": "curtain_beige",
										"render_method": "alpha_test"
									}
								},
								"minecraft:geometry": "geometry.curtain_closed",
								"bridge:rotate_y_on_place": {
									"flip": true
								},
								"minecraft:block_light_absorption": 0,
								"minecraft:creative_category": {
									"group": "itemGroup.name.Items",
									"category": "Items"
								},
								"minecraft:on_interact": {
									"event": "event_0"
								},
								"minecraft:entity_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								},
								"minecraft:pick_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								}
							},
							"events": {
								"variant": {
									"set_block_property": {
										"hf:active": 1
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant2": {
									"set_block_property": {
										"hf:active": 2
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant3": {
									"set_block_property": {
										"hf:active": 3
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant4": {
									"set_block_property": {
										"hf:active": 4
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant5": {
									"set_block_property": {
										"hf:active": 5
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant6": {
									"set_block_property": {
										"hf:active": 6
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant7": {
									"set_block_property": {
										"hf:active": 7
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"event_0": {
									"sequence": [
										{
											"trigger": {
												"event": "variant"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_1": {
									"sequence": [
										{
											"trigger": {
												"event": "variant2"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_2": {
									"sequence": [
										{
											"trigger": {
												"event": "variant3"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_3": {
									"sequence": [
										{
											"trigger": {
												"event": "variant4"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_4": {
									"sequence": [
										{
											"trigger": {
												"event": "variant5"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_5": {
									"sequence": [
										{
											"trigger": {
												"event": "variant6"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_6": {
									"sequence": [
										{
											"trigger": {
												"event": "variant7"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"closesound": {
									"set_block_property": {
										"hf:movement": 2
									},
									"run_command": {
										"command": [
											"playsound land.sand @p ~~1~ 1 1"
										]
									}
								}
							},
							"permutations": [
								{
									"condition": "query.block_property('hf:active') == 1",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_black",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_1"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 2",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_darkblue",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_2"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 3",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_orange",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_3"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 4",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_plumpurple",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_4"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 5",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_white",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_5"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 6",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_yellow",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_6"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 7",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_beige"
											}
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 1",
									"components": {
										"minecraft:geometry": "geometry.curtain_open",
										"minecraft:on_interact": {
											"event": "closesound"
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 2",
									"components": {
										"minecraft:geometry": "geometry.curtain_closed"
									}
								}
							]
						},
						"key": "components",
						"children": [
							{
								"data": "4",
								"key": "minecraft:destroy_time"
							},
							{
								"open": {
									"minecraft:destroy_time": 4,
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_beige",
											"render_method": "alpha_test"
										}
									},
									"minecraft:geometry": "geometry.curtain_closed",
									"bridge:rotate_y_on_place": {
										"flip": true
									},
									"minecraft:block_light_absorption": 0,
									"minecraft:creative_category": {
										"group": "itemGroup.name.Items",
										"category": "Items"
									},
									"minecraft:on_interact": {
										"event": "event_0"
									},
									"minecraft:entity_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									},
									"minecraft:pick_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									}
								},
								"key": "minecraft:material_instances",
								"children": [
									{
										"open": {
											"*": {
												"texture": "curtain_beige",
												"render_method": "alpha_test"
											}
										},
										"key": "*",
										"is_minified": true,
										"children": {
											"texture": "curtain_beige",
											"render_method": "alpha_test"
										}
									}
								]
							},
							{
								"open": {
									"minecraft:destroy_time": 4,
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_beige",
											"render_method": "alpha_test"
										}
									},
									"minecraft:geometry": "geometry.curtain_closed",
									"bridge:rotate_y_on_place": {
										"flip": true
									},
									"minecraft:block_light_absorption": 0,
									"minecraft:creative_category": {
										"group": "itemGroup.name.Items",
										"category": "Items"
									},
									"minecraft:on_interact": {
										"event": "event_0"
									},
									"minecraft:entity_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									},
									"minecraft:pick_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									}
								},
								"data": "geometry.curtain_closed",
								"key": "minecraft:geometry"
							},
							{
								"key": "bridge:rotate_y_on_place",
								"is_minified": true,
								"children": {
									"flip": true
								}
							},
							{
								"data": "0",
								"key": "minecraft:block_light_absorption"
							},
							{
								"key": "minecraft:creative_category",
								"is_minified": true,
								"children": {
									"group": "itemGroup.name.Items",
									"category": "Items"
								}
							},
							{
								"open": {
									"minecraft:destroy_time": 4,
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_beige",
											"render_method": "alpha_test"
										}
									},
									"minecraft:geometry": "geometry.curtain_closed",
									"bridge:rotate_y_on_place": {
										"flip": true
									},
									"minecraft:block_light_absorption": 0,
									"minecraft:creative_category": {
										"group": "itemGroup.name.Items",
										"category": "Items"
									},
									"minecraft:on_interact": {
										"event": "event_0"
									},
									"minecraft:entity_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									},
									"minecraft:pick_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									}
								},
								"key": "minecraft:on_interact",
								"is_minified": true,
								"children": {
									"event": "event_0"
								}
							},
							{
								"key": "minecraft:entity_collision",
								"is_minified": true,
								"children": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								}
							},
							{
								"open": {
									"minecraft:destroy_time": 4,
									"minecraft:material_instances": {
										"*": {
											"texture": "curtain_beige",
											"render_method": "alpha_test"
										}
									},
									"minecraft:geometry": "geometry.curtain_closed",
									"bridge:rotate_y_on_place": {
										"flip": true
									},
									"minecraft:block_light_absorption": 0,
									"minecraft:creative_category": {
										"group": "itemGroup.name.Items",
										"category": "Items"
									},
									"minecraft:on_interact": {
										"event": "event_0"
									},
									"minecraft:entity_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									},
									"minecraft:pick_collision": {
										"origin": [
											-8,
											0,
											6
										],
										"size": [
											16,
											16,
											2
										]
									}
								},
								"key": "minecraft:pick_collision",
								"is_minified": true,
								"children": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								}
							}
						]
					},
					{
						"open": {
							"description": {
								"identifier": "hf:curtain",
								"properties": {
									"hf:active": [
										0,
										1,
										2,
										3,
										4,
										5,
										6,
										7
									],
									"hf:movement": [
										0,
										1,
										2
									]
								}
							},
							"components": {
								"minecraft:destroy_time": 4,
								"minecraft:material_instances": {
									"*": {
										"texture": "curtain_beige",
										"render_method": "alpha_test"
									}
								},
								"minecraft:geometry": "geometry.curtain_closed",
								"bridge:rotate_y_on_place": {
									"flip": true
								},
								"minecraft:block_light_absorption": 0,
								"minecraft:creative_category": {
									"group": "itemGroup.name.Items",
									"category": "Items"
								},
								"minecraft:on_interact": {
									"event": "event_0"
								},
								"minecraft:entity_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								},
								"minecraft:pick_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								}
							},
							"events": {
								"variant": {
									"set_block_property": {
										"hf:active": 1
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant2": {
									"set_block_property": {
										"hf:active": 2
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant3": {
									"set_block_property": {
										"hf:active": 3
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant4": {
									"set_block_property": {
										"hf:active": 4
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant5": {
									"set_block_property": {
										"hf:active": 5
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant6": {
									"set_block_property": {
										"hf:active": 6
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant7": {
									"set_block_property": {
										"hf:active": 7
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"event_0": {
									"sequence": [
										{
											"trigger": {
												"event": "variant"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_1": {
									"sequence": [
										{
											"trigger": {
												"event": "variant2"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_2": {
									"sequence": [
										{
											"trigger": {
												"event": "variant3"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_3": {
									"sequence": [
										{
											"trigger": {
												"event": "variant4"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_4": {
									"sequence": [
										{
											"trigger": {
												"event": "variant5"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_5": {
									"sequence": [
										{
											"trigger": {
												"event": "variant6"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_6": {
									"sequence": [
										{
											"trigger": {
												"event": "variant7"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"closesound": {
									"set_block_property": {
										"hf:movement": 2
									},
									"run_command": {
										"command": [
											"playsound land.sand @p ~~1~ 1 1"
										]
									}
								}
							},
							"permutations": [
								{
									"condition": "query.block_property('hf:active') == 1",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_black",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_1"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 2",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_darkblue",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_2"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 3",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_orange",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_3"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 4",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_plumpurple",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_4"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 5",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_white",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_5"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 6",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_yellow",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_6"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 7",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_beige"
											}
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 1",
									"components": {
										"minecraft:geometry": "geometry.curtain_open",
										"minecraft:on_interact": {
											"event": "closesound"
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 2",
									"components": {
										"minecraft:geometry": "geometry.curtain_closed"
									}
								}
							]
						},
						"key": "events",
						"children": [
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 1
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 1
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant2",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 2
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 2
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant3",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 3
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 3
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant4",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 4
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 4
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant5",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 5
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 5
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant6",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 6
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 6
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"open": {
									"variant": {
										"set_block_property": {
											"hf:active": 1
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant2": {
										"set_block_property": {
											"hf:active": 2
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant3": {
										"set_block_property": {
											"hf:active": 3
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant4": {
										"set_block_property": {
											"hf:active": 4
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant5": {
										"set_block_property": {
											"hf:active": 5
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant6": {
										"set_block_property": {
											"hf:active": 6
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"variant7": {
										"set_block_property": {
											"hf:active": 7
										},
										"run_command": {
											"command": [
												"playsound dig.soul_sand @p ~~~ 1 1",
												"particle minecraft:totem_particle ~~~"
											]
										}
									},
									"event_0": {
										"sequence": [
											{
												"trigger": {
													"event": "variant"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_1": {
										"sequence": [
											{
												"trigger": {
													"event": "variant2"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_2": {
										"sequence": [
											{
												"trigger": {
													"event": "variant3"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_3": {
										"sequence": [
											{
												"trigger": {
													"event": "variant4"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_4": {
										"sequence": [
											{
												"trigger": {
													"event": "variant5"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_5": {
										"sequence": [
											{
												"trigger": {
													"event": "variant6"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"event_6": {
										"sequence": [
											{
												"trigger": {
													"event": "variant7"
												},
												"condition": "query.get_equipped_item_name=='magicpen'"
											},
											{
												"set_block_property": {
													"hf:movement": 1
												},
												"run_command": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"condition": "query.get_equipped_item_name!='magicpen'"
											}
										]
									},
									"closesound": {
										"set_block_property": {
											"hf:movement": 2
										},
										"run_command": {
											"command": [
												"playsound land.sand @p ~~1~ 1 1"
											]
										}
									}
								},
								"key": "variant7",
								"children": [
									{
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:active": 7
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:active": 7
											},
											"run_command": {
												"command": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound dig.soul_sand @p ~~~ 1 1",
														"particle minecraft:totem_particle ~~~"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound dig.soul_sand @p ~~~ 1 1",
													"particle minecraft:totem_particle ~~~"
												]
											}
										]
									}
								]
							},
							{
								"key": "event_0",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"open": [
													{
														"trigger": {
															"event": "variant"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "event_1",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant2"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"open": [
													{
														"trigger": {
															"event": "variant2"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant2"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant2"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "event_2",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant3"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant3"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant3"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "event_3",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant4"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"open": [
													{
														"trigger": {
															"event": "variant4"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant4"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant4"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "event_4",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant5"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"open": [
													{
														"trigger": {
															"event": "variant5"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant5"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant5"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "event_5",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant6"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"open": [
													{
														"trigger": {
															"event": "variant6"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant6"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant6"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "event_6",
								"children": [
									{
										"open": {
											"sequence": [
												{
													"trigger": {
														"event": "variant7"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												},
												{
													"set_block_property": {
														"hf:movement": 1
													},
													"run_command": {
														"command": [
															"playsound land.sand @p ~~1~ 1 1"
														]
													},
													"condition": "query.get_equipped_item_name!='magicpen'"
												}
											]
										},
										"key": "sequence",
										"children": [
											{
												"open": [
													{
														"trigger": {
															"event": "variant7"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"is_minified": true,
												"children": {
													"trigger": {
														"event": "variant7"
													},
													"condition": "query.get_equipped_item_name=='magicpen'"
												}
											},
											{
												"open": [
													{
														"trigger": {
															"event": "variant7"
														},
														"condition": "query.get_equipped_item_name=='magicpen'"
													},
													{
														"set_block_property": {
															"hf:movement": 1
														},
														"run_command": {
															"command": [
																"playsound land.sand @p ~~1~ 1 1"
															]
														},
														"condition": "query.get_equipped_item_name!='magicpen'"
													}
												],
												"children": [
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "set_block_property",
														"is_minified": true,
														"children": {
															"hf:movement": 1
														}
													},
													{
														"open": {
															"set_block_property": {
																"hf:movement": 1
															},
															"run_command": {
																"command": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															},
															"condition": "query.get_equipped_item_name!='magicpen'"
														},
														"key": "run_command",
														"children": [
															{
																"open": {
																	"command": [
																		"playsound land.sand @p ~~1~ 1 1"
																	]
																},
																"key": "command",
																"is_minified": true,
																"children": [
																	"playsound land.sand @p ~~1~ 1 1"
																]
															}
														]
													},
													{
														"data": "query.get_equipped_item_name!='magicpen'",
														"key": "condition"
													}
												]
											}
										]
									}
								]
							},
							{
								"key": "closesound",
								"children": [
									{
										"open": {
											"set_block_property": {
												"hf:movement": 2
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											}
										},
										"key": "set_block_property",
										"is_minified": true,
										"children": {
											"hf:movement": 2
										}
									},
									{
										"open": {
											"set_block_property": {
												"hf:movement": 2
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											}
										},
										"key": "run_command",
										"children": [
											{
												"open": {
													"command": [
														"playsound land.sand @p ~~1~ 1 1"
													]
												},
												"key": "command",
												"is_minified": true,
												"children": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											}
										]
									}
								]
							}
						]
					},
					{
						"open": {
							"description": {
								"identifier": "hf:curtain",
								"properties": {
									"hf:active": [
										0,
										1,
										2,
										3,
										4,
										5,
										6,
										7
									],
									"hf:movement": [
										0,
										1,
										2
									]
								}
							},
							"components": {
								"minecraft:destroy_time": 4,
								"minecraft:material_instances": {
									"*": {
										"texture": "curtain_beige",
										"render_method": "alpha_test"
									}
								},
								"minecraft:geometry": "geometry.curtain_closed",
								"bridge:rotate_y_on_place": {
									"flip": true
								},
								"minecraft:block_light_absorption": 0,
								"minecraft:creative_category": {
									"group": "itemGroup.name.Items",
									"category": "Items"
								},
								"minecraft:on_interact": {
									"event": "event_0"
								},
								"minecraft:entity_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								},
								"minecraft:pick_collision": {
									"origin": [
										-8,
										0,
										6
									],
									"size": [
										16,
										16,
										2
									]
								}
							},
							"events": {
								"variant": {
									"set_block_property": {
										"hf:active": 1
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant2": {
									"set_block_property": {
										"hf:active": 2
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant3": {
									"set_block_property": {
										"hf:active": 3
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant4": {
									"set_block_property": {
										"hf:active": 4
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant5": {
									"set_block_property": {
										"hf:active": 5
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant6": {
									"set_block_property": {
										"hf:active": 6
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"variant7": {
									"set_block_property": {
										"hf:active": 7
									},
									"run_command": {
										"command": [
											"playsound dig.soul_sand @p ~~~ 1 1",
											"particle minecraft:totem_particle ~~~"
										]
									}
								},
								"event_0": {
									"sequence": [
										{
											"trigger": {
												"event": "variant"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_1": {
									"sequence": [
										{
											"trigger": {
												"event": "variant2"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_2": {
									"sequence": [
										{
											"trigger": {
												"event": "variant3"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_3": {
									"sequence": [
										{
											"trigger": {
												"event": "variant4"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_4": {
									"sequence": [
										{
											"trigger": {
												"event": "variant5"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_5": {
									"sequence": [
										{
											"trigger": {
												"event": "variant6"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"event_6": {
									"sequence": [
										{
											"trigger": {
												"event": "variant7"
											},
											"condition": "query.get_equipped_item_name=='magicpen'"
										},
										{
											"set_block_property": {
												"hf:movement": 1
											},
											"run_command": {
												"command": [
													"playsound land.sand @p ~~1~ 1 1"
												]
											},
											"condition": "query.get_equipped_item_name!='magicpen'"
										}
									]
								},
								"closesound": {
									"set_block_property": {
										"hf:movement": 2
									},
									"run_command": {
										"command": [
											"playsound land.sand @p ~~1~ 1 1"
										]
									}
								}
							},
							"permutations": [
								{
									"condition": "query.block_property('hf:active') == 1",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_black",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_1"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 2",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_darkblue",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_2"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 3",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_orange",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_3"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 4",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_plumpurple",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_4"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 5",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_white",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_5"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 6",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_yellow",
												"render_method": "alpha_test"
											}
										},
										"minecraft:on_interact": {
											"event": "event_6"
										}
									}
								},
								{
									"condition": "query.block_property('hf:active') == 7",
									"components": {
										"minecraft:material_instances": {
											"*": {
												"texture": "curtain_beige"
											}
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 1",
									"components": {
										"minecraft:geometry": "geometry.curtain_open",
										"minecraft:on_interact": {
											"event": "closesound"
										}
									}
								},
								{
									"condition": "query.block_property('hf:movement') == 2",
									"components": {
										"minecraft:geometry": "geometry.curtain_closed"
									}
								}
							]
						},
						"key": "permutations",
						"children": [
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 1",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 1",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_black",
														"render_method": "alpha_test"
													}
												},
												"minecraft:on_interact": {
													"event": "event_1"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_black",
															"render_method": "alpha_test"
														}
													},
													"minecraft:on_interact": {
														"event": "event_1"
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_black",
																"render_method": "alpha_test"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_black",
															"render_method": "alpha_test"
														}
													}
												]
											},
											{
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "event_1"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 2",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 2",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_darkblue",
														"render_method": "alpha_test"
													}
												},
												"minecraft:on_interact": {
													"event": "event_2"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_darkblue",
															"render_method": "alpha_test"
														}
													},
													"minecraft:on_interact": {
														"event": "event_2"
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_darkblue",
																"render_method": "alpha_test"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_darkblue",
															"render_method": "alpha_test"
														}
													}
												]
											},
											{
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "event_2"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 3",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 3",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_orange",
														"render_method": "alpha_test"
													}
												},
												"minecraft:on_interact": {
													"event": "event_3"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_orange",
															"render_method": "alpha_test"
														}
													},
													"minecraft:on_interact": {
														"event": "event_3"
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_orange",
																"render_method": "alpha_test"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_orange",
															"render_method": "alpha_test"
														}
													}
												]
											},
											{
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "event_3"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 4",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 4",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_plumpurple",
														"render_method": "alpha_test"
													}
												},
												"minecraft:on_interact": {
													"event": "event_4"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_plumpurple",
															"render_method": "alpha_test"
														}
													},
													"minecraft:on_interact": {
														"event": "event_4"
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_plumpurple",
																"render_method": "alpha_test"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_plumpurple",
															"render_method": "alpha_test"
														}
													}
												]
											},
											{
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "event_4"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 5",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 5",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_white",
														"render_method": "alpha_test"
													}
												},
												"minecraft:on_interact": {
													"event": "event_5"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_white",
															"render_method": "alpha_test"
														}
													},
													"minecraft:on_interact": {
														"event": "event_5"
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_white",
																"render_method": "alpha_test"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_white",
															"render_method": "alpha_test"
														}
													}
												]
											},
											{
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "event_5"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 6",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 6",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_yellow",
														"render_method": "alpha_test"
													}
												},
												"minecraft:on_interact": {
													"event": "event_6"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_yellow",
															"render_method": "alpha_test"
														}
													},
													"minecraft:on_interact": {
														"event": "event_6"
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_yellow",
																"render_method": "alpha_test"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_yellow",
															"render_method": "alpha_test"
														}
													}
												]
											},
											{
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "event_6"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:active') == 7",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:active') == 7",
											"components": {
												"minecraft:material_instances": {
													"*": {
														"texture": "curtain_beige"
													}
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:material_instances": {
														"*": {
															"texture": "curtain_beige"
														}
													}
												},
												"key": "minecraft:material_instances",
												"children": [
													{
														"open": {
															"*": {
																"texture": "curtain_beige"
															}
														},
														"key": "*",
														"is_minified": true,
														"children": {
															"texture": "curtain_beige"
														}
													}
												]
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:movement') == 1",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:movement') == 1",
											"components": {
												"minecraft:geometry": "geometry.curtain_open",
												"minecraft:on_interact": {
													"event": "closesound"
												}
											}
										},
										"key": "components",
										"children": [
											{
												"open": {
													"minecraft:geometry": "geometry.curtain_open",
													"minecraft:on_interact": {
														"event": "closesound"
													}
												},
												"data": "geometry.curtain_open",
												"key": "minecraft:geometry"
											},
											{
												"open": {
													"minecraft:geometry": "geometry.curtain_open",
													"minecraft:on_interact": {
														"event": "closesound"
													}
												},
												"key": "minecraft:on_interact",
												"is_minified": true,
												"children": {
													"event": "closesound"
												}
											}
										]
									}
								]
							},
							{
								"open": [
									{
										"condition": "query.block_property('hf:active') == 1",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_black",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_1"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 2",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_darkblue",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_2"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 3",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_orange",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_3"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 4",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_plumpurple",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_4"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 5",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_white",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_5"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 6",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_yellow",
													"render_method": "alpha_test"
												}
											},
											"minecraft:on_interact": {
												"event": "event_6"
											}
										}
									},
									{
										"condition": "query.block_property('hf:active') == 7",
										"components": {
											"minecraft:material_instances": {
												"*": {
													"texture": "curtain_beige"
												}
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 1",
										"components": {
											"minecraft:geometry": "geometry.curtain_open",
											"minecraft:on_interact": {
												"event": "closesound"
											}
										}
									},
									{
										"condition": "query.block_property('hf:movement') == 2",
										"components": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								],
								"children": [
									{
										"data": "query.block_property('hf:movement') == 2",
										"key": "condition"
									},
									{
										"open": {
											"condition": "query.block_property('hf:movement') == 2",
											"components": {
												"minecraft:geometry": "geometry.curtain_closed"
											}
										},
										"key": "components",
										"is_minified": true,
										"children": {
											"minecraft:geometry": "geometry.curtain_closed"
										}
									}
								]
							}
						]
					}
				]
			}
		]
	}
}