{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:kitchen_cafeteira","properties":{"loled:face":[2,3,4,5,6],"loled:coffe":[0,1,2,3,4]}},"components":{"minecraft:material_instances":{"*":{"texture":"cafeteira","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-6,0,-6],"size":[12,16,14]},"minecraft:creative_category":{"group":"itemGroup.name.kitchen","category":"construction"},"minecraft:loot":"loot_tables/kitchen/kitchen_cafeteira.json","minecraft:geometry":"geometry.cafeteira","minecraft:destroy_time":2,"minecraft:block_light_absorption":0,"minecraft:unwalkable":true,"minecraft:entity_collision":{"origin":[-6,0,-6],"size":[12,16,14]},"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=='cocoa_beans'"},"minecraft:on_player_placing":{"event":"loled:face"}},"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:coffe')==1","components":{"minecraft:geometry":"geometry.cafeteira","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"loled:toggle","condition":"query.get_equipped_item_name=='item_copo'"},"minecraft:material_instances":{"*":{"texture":"cafeteira","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:coffe')==2","components":{"minecraft:geometry":"geometry.cafeteira_copo","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"coffe_1"},"minecraft:material_instances":{"*":{"texture":"cafeteira_copo","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:coffe')==3","components":{"minecraft:geometry":"geometry.cafeteira_copo_cafe","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"nothing"},"minecraft:ticking":{"looping":true,"range":[1,16],"on_tick":{"event":"coffe_ready"}},"minecraft:material_instances":{"*":{"texture":"cafeteira_copo_cafe","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:coffe')==4","components":{"minecraft:geometry":"geometry.cafeteira_copo_cafe_pronto","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"take_coffe"},"minecraft:material_instances":{"*":{"texture":"cafeteira_copo_cafe_pronto","render_method":"alpha_test"}}}}],"events":{"loled:face":{"set_block_property":{"loled:face":"(query.cardinal_player_facing)"}},"loled:toggle":{"set_block_property":{"loled:coffe":"query.block_property('loled:coffe')+1"},"decrement_stack":{}},"coffe_1":{"set_block_property":{"loled:coffe":3}},"coffe_ready":{"set_block_property":{"loled:coffe":4}},"take_coffe":{"set_block_property":{"loled:coffe":0},"spawn_loot":{"table":"loot_tables/blocks/item_coffe.json"}}}}}