{"format_version":"1.21.60","minecraft:block":{"description":{"identifier":"pod_trn:bamboo_trestle","menu_category":{"category":"construction","group":"itemGroup.name.pod_trn:trestles"},"states":{"pod_trn:trestle_direction":["straight","left","right"],"pod_trn:slope_above":[0,1,2,3,4]},"traits":{"minecraft:placement_direction":{"enabled_states":["minecraft:cardinal_direction"]}}},"permutations":[{"condition":"query.block_state('pod_trn:trestle_direction') == 'left'","components":{"minecraft:geometry":{"bone_visibility":{"right":false},"identifier":"geometry.pod_trn.diagonal_trestle_support"}}},{"condition":"query.block_state('pod_trn:trestle_direction') == 'right'","components":{"minecraft:geometry":{"bone_visibility":{"left":false},"identifier":"geometry.pod_trn.diagonal_trestle_support"}}},{"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,270,0]}}}],"components":{"minecraft:destructible_by_mining":{"seconds_to_destroy":2.2,"item_specific_speeds":[{"destroy_speed":1.5,"item":{"tags":"query.any_tag('minecraft:is_axe') && query.any_tag('minecraft:wooden_tier') "}},{"destroy_speed":0.75,"item":{"tags":"query.any_tag('minecraft:is_axe') && query.any_tag('minecraft:stone_tier') "}},{"destroy_speed":0.5,"item":{"tags":"query.any_tag('minecraft:is_axe') && query.any_tag('minecraft:iron_tier') "}},{"destroy_speed":0.4,"item":{"tags":"query.any_tag('minecraft:is_axe') && query.any_tag('minecraft:diamond_tier', 'minecraft:netherite_tier') "}},{"destroy_speed":0.25,"item":{"tags":"query.any_tag('minecraft:is_axe') && query.any_tag('minecraft:golden_tier') "}}]},"minecraft:liquid_detection":{"detection_rules":[{"can_contain_liquid":true,"liquid_type":"water","on_liquid_touches":"blocking"}]},"minecraft:material_instances":{"*":{"texture":"pod_trn:rail_material_bamboo","render_method":"alpha_test"}},"minecraft:geometry":{"identifier":"geometry.pod_trn.trestle_support","bone_visibility":{"base":"q.block_state('pod_trn:slope_above') == 1","layer_2":"q.block_state('pod_trn:slope_above') == 2","layer_3":"q.block_state('pod_trn:slope_above') == 3","layer_4":"q.block_state('pod_trn:slope_above') != 4"}},"tag:pod_trn:support":{},"tag:pod_trn:trestle":{},"minecraft:custom_components":["pod_trn:trestle"]}}}