{"format_version":"1.16.0","minecraft:block":{"description":{"identifier":"loled:keyboard","properties":{"loled:face":[2,3,4,5]}},"components":{"minecraft:material_instances":{"*":{"texture":"keyboard","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-8,0,-8],"size":[16,4,16]},"minecraft:creative_category":{"group":"itemGroup.name.keyboard","category":"construction"},"minecraft:loot":"loot_tables/keyboard/keyboard.json","minecraft:geometry":"geometry.keyboard","minecraft:destroy_time":2,"minecraft:block_light_absorption":2,"minecraft:entity_collision":{"origin":[-8,0,-8],"size":[16,4,16]},"minecraft:on_player_placing":{"event":"loled:place"},"minecraft:on_interact":{"event":"loled:sound"},"minecraft:friction":0.6,"minecraft:map_color":"#00ff00","minecraft:flammable":{"flame_odds":0,"burn_odds":0}},"events":{"loled:place":{"set_block_property":{"loled:face":"(query.cardinal_player_facing)"}},"loled:sound":{"run_command":{"command":["playsound keyboard.sound @a"]}}},"permutations":[{"condition":"query.block_property('loled:face') == 3","components":{"minecraft:rotation":[0,180,0]}},{"condition":"query.block_property('loled:face') == 4","components":{"minecraft:rotation":[0,90,0]}},{"condition":"query.block_property('loled:face') == 5","components":{"minecraft:rotation":[0,270,0]}}]}}