{"format_version":"1.21.20","minecraft:block":{"description":{"identifier":"mdnext:gold_bars_mdnext","menu_category":{"category":"items","group":"itemGroup.name.display"},"traits":{"minecraft:placement_direction":{"enabled_states":["minecraft:cardinal_direction"]}},"states":{"md:rotate":[0,1,2]}},"permutations":[{"condition":"q.block_state('md:rotate') == 0","components":{"minecraft:geometry":{"identifier":"geometry.gold_bars_mdnext","bone_visibility":{"1":false,"2":false,"main":true}},"minecraft:collision_box":{"origin":[-2.5,0,-7],"size":[5,3,14]},"minecraft:selection_box":{"origin":[-2.5,0,-7],"size":[5,3,14]}}},{"condition":"q.block_state('md:rotate') == 1","components":{"minecraft:geometry":{"identifier":"geometry.gold_bars_mdnext","bone_visibility":{"1":true,"2":false,"main":true}},"minecraft:collision_box":{"origin":[-7.5,0,-7],"size":[15,4,14]},"minecraft:selection_box":{"origin":[-7.5,0,-7],"size":[15,4,14]}}},{"condition":"q.block_state('md:rotate') == 2","components":{"minecraft:geometry":{"identifier":"geometry.gold_bars_mdnext","bone_visibility":{"1":true,"2":true,"main":true}},"minecraft:collision_box":{"origin":[-7,0,-7],"size":[14,10,14]},"minecraft:selection_box":{"origin":[-7,0,-7],"size":[14,10,14]}}},{"condition":"q.block_state('minecraft:cardinal_direction') == 'north'","components":{"minecraft:transformation":{"rotation":[0,180,0]}}},{"condition":"q.block_state('minecraft:cardinal_direction') == 'south'","components":{"minecraft:transformation":{"rotation":[0,0,0]}}},{"condition":"q.block_state('minecraft:cardinal_direction') == 'east'","components":{"minecraft:transformation":{"rotation":[0,90,0]}}},{"condition":"q.block_state('minecraft:cardinal_direction') == 'west'","components":{"minecraft:transformation":{"rotation":[0,-90,0]}}}],"components":{"tag:gold_bars_mdnext":{},"minecraft:geometry":"geometry.gold_bars_mdnext","minecraft:material_instances":{"*":{"texture":"metal_gold_md","render_method":"opaque"}},"minecraft:light_dampening":0,"minecraft:light_emission":3,"minecraft:custom_components":["md:rotate"]}}}