{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:setup_phone_suporte","properties":{"loled:face":[0,1,2,3],"loled:phone":[0,1,2]}},"components":{"minecraft:material_instances":{"*":{"texture":"phone_suporte","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-3,0,-2],"size":[6,8,6]},"minecraft:creative_category":{"group":"itemGroup.name.setup","category":"construction"},"minecraft:loot":"loot_tables/setup/setup_phone_suporte.json","minecraft:geometry":"geometry.phone_suporte_off","minecraft:destroy_time":2,"minecraft:block_light_absorption":0,"minecraft:entity_collision":{"origin":[-3,0,-2],"size":[6,8,6]},"minecraft:friction":0.6,"minecraft:map_color":"#00ff00","minecraft:flammable":{"flame_odds":0,"burn_odds":0},"minecraft:on_interact":{"event":"loled:toggle","condition":"query.get_equipped_item_name=='item_phone'"},"minecraft:on_player_placing":{"event":"loled:face"},"minecraft:on_player_destroyed":{"event":"spawn_loot"}},"permutations":[{"condition":"query.block_property('loled:face') == 0","components":{"minecraft:rotation":[0,180,0]}},{"condition":"query.block_property('loled:face') == 1","components":{"minecraft:rotation":[0,0,0]}},{"condition":"query.block_property('loled:face') == 2","components":{"minecraft:rotation":[0,270,0]}},{"condition":"query.block_property('loled:face') == 3","components":{"minecraft:rotation":[0,90,0]}},{"condition":"query.block_property('loled:phone')==1","components":{"minecraft:geometry":"geometry.phone_suporte","minecraft:on_interact":{"event":"interact"},"minecraft:block_light_absorption":0,"minecraft:material_instances":{"*":{"texture":"phone_suporte","render_method":"alpha_test"}}}}],"events":{"loled:face":{"set_block_property":{"loled:face":"query.cardinal_facing_2d-2"}},"interact":{"sequence":[{"trigger":{"target":"self","event":"loled:normal"},"condition":"query.get_equipped_item_name('main_hand')!= 'phone'"}]},"loled:toggle":{"set_block_property":{"loled:phone":"query.block_property('loled:phone')+1"},"decrement_stack":{}},"loled:normal":{"set_block_property":{"loled:phone":0},"spawn_loot":{"table":"loot_tables/phone/phone.json"}}}}}