{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:d_tv2","properties":{"loled:face":[2,3,4,5,6],"loled:active":[0,1,2,3,4]}},"components":{"minecraft:material_instances":{"*":{"texture":"tv0","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-8,0,-8],"size":[16,15,3]},"minecraft:creative_category":{"group":"itemGroup.name.living_room","category":"construction"},"minecraft:loot":"loot_tables/decorations/d_tv2.json","minecraft:geometry":"geometry.tv2","minecraft:destroy_time":2,"minecraft:block_light_absorption":2,"minecraft:unwalkable":true,"minecraft:entity_collision":{"origin":[-8,0,-8],"size":[16,15,3]},"minecraft:friction":0.6,"minecraft:map_color":"#00ff00","minecraft:flammable":{"flame_odds":0,"burn_odds":0},"minecraft:on_interact":{"event":"loled:change","condition":"query.get_equipped_item_name=='item_control'"},"minecraft:on_player_placing":{"event":"loled:face"},"minecraft:block_light_emission":0},"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]}},{"condition":"query.block_property('loled:active') == 1","components":{"minecraft:on_interact":{"event":"loled:change","condition":"query.get_equipped_item_name=='item_control'"},"minecraft:material_instances":{"*":{"texture":"tv1","render_method":"alpha_test"}},"minecraft:block_light_emission":1}},{"condition":"query.block_property('loled:active') == 2","components":{"minecraft:on_interact":{"event":"loled:change","condition":"query.get_equipped_item_name=='item_control'"},"minecraft:material_instances":{"*":{"texture":"tv2","render_method":"alpha_test"}},"minecraft:block_light_emission":1}},{"condition":"query.block_property('loled:active') == 3","components":{"minecraft:on_interact":{"event":"loled:change","condition":"query.get_equipped_item_name=='item_control'"},"minecraft:material_instances":{"*":{"texture":"tv3","render_method":"alpha_test"}},"minecraft:block_light_emission":1}},{"condition":"query.block_property('loled:active') == 4","components":{"minecraft:on_interact":{"event":"loled:off","condition":"query.get_equipped_item_name=='item_control'"},"minecraft:material_instances":{"*":{"texture":"tv4","render_method":"alpha_test"}},"minecraft:block_light_emission":1}}],"events":{"loled:face":{"set_block_property":{"loled:face":"(query.cardinal_player_facing)"}},"loled:change":{"set_block_property":{"loled:active":"query.block_property('loled:active') +1"}},"loled:off":{"set_block_property":{"loled:active":0}}}}}