{"format_version":"1.21.20","minecraft:block":{"description":{"identifier":"mdnext:modern_door_4_white_mdnext","traits":{"minecraft:placement_direction":{"enabled_states":["minecraft:cardinal_direction"]}},"states":{"md:placed":[false,true],"md:mirror":[false,true],"md:is_open":[false,true],"md:door_type":["top","middle","bottom","bottom_2"]},"menu_category":{"category":"items"}},"permutations":[{"condition":"q.block_state('minecraft:cardinal_direction') == 'north' && !q.block_state('md:is_open')","components":{"minecraft:transformation":{"rotation":[0,180,0]}}},{"condition":"query.block_state('minecraft:cardinal_direction') == 'east' && !q.block_state('md:is_open')","components":{"minecraft:transformation":{"rotation":[0,90,0]}}},{"condition":"query.block_state('minecraft:cardinal_direction') == 'west' && !q.block_state('md:is_open')","components":{"minecraft:transformation":{"rotation":[0,-90,0]}}},{"condition":"((q.block_state('minecraft:cardinal_direction') == 'south' && !q.block_state('md:mirror')) || (q.block_state('minecraft:cardinal_direction') == 'north' && q.block_state('md:mirror'))) && q.block_state('md:is_open')","components":{"minecraft:transformation":{"rotation":[0,90,0],"translation":[0.875,0,0]}}},{"condition":"((q.block_state('minecraft:cardinal_direction') == 'north' && !q.block_state('md:mirror')) || (q.block_state('minecraft:cardinal_direction') == 'south' && q.block_state('md:mirror'))) && q.block_state('md:is_open')","components":{"minecraft:transformation":{"rotation":[0,-90,0],"translation":[-0.875,0,0]}}},{"condition":"((q.block_state('minecraft:cardinal_direction') == 'east' && !q.block_state('md:mirror')) || (q.block_state('minecraft:cardinal_direction') == 'west' && q.block_state('md:mirror'))) && q.block_state('md:is_open')","components":{"minecraft:transformation":{"rotation":[0,180,0],"translation":[0,0,-0.875]}}},{"condition":"((q.block_state('minecraft:cardinal_direction') == 'west' && !q.block_state('md:mirror')) || (q.block_state('minecraft:cardinal_direction') == 'east' && q.block_state('md:mirror'))) && q.block_state('md:is_open')","components":{"minecraft:transformation":{"translation":[0,0,0.875]}}},{"condition":"q.block_state('md:placed')","components":{"minecraft:geometry":{"identifier":"geometry.modern_door_4_mdnext","bone_visibility":{"top":"q.block_state('md:door_type') == 'top'","middle":"q.block_state('md:door_type') == 'middle'","bottom":"q.block_state('md:door_type') == 'bottom' || q.block_state('md:door_type') == 'bottom_2'","handle_1":"q.block_state('md:door_type') == 'bottom'","handle_2":"q.block_state('md:door_type') == 'middle'"}}}},{"condition":"q.block_state('md:mirror')","components":{"minecraft:geometry":{"identifier":"geometry.modern_door_4_mirror_mdnext","bone_visibility":{"top":"q.block_state('md:door_type') == 'top'","middle":"q.block_state('md:door_type') == 'middle'","bottom":"q.block_state('md:door_type') == 'bottom' || q.block_state('md:door_type') == 'bottom_2'","handle_1":"q.block_state('md:door_type') == 'bottom'","handle_2":"q.block_state('md:door_type') == 'middle'"}}}}],"components":{"minecraft:geometry":"geometry.modern_door_4_mdnext","minecraft:material_instances":{"1":{"texture":"metal_gray_md","render_method":"alpha_test"},"*":{"texture":"wood_white_md","render_method":"alpha_test"}},"minecraft:collision_box":{"origin":[-8,0,-8],"size":[16,16,2]},"minecraft:selection_box":{"origin":[-8,0,-8],"size":[16,16,2]},"tag:door_custom":{},"tag:wooden_door":{},"minecraft:custom_components":["md:door_interact","md:door_place","md:door_destroy"]}}}