{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:kitchen_bebedouro","properties":{"loled:face":[0,1,2,3],"loled:agua":[0,1,2,3]}},"components":{"minecraft:material_instances":{"*":{"texture":"bebedouro","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-6,0,-6],"size":[12,16,16]},"minecraft:creative_category":{"group":"itemGroup.name.kitchen","category":"construction"},"minecraft:loot":"loot_tables/kitchen/kitchen_bebedouro.json","minecraft:geometry":"geometry.bebedouro","minecraft:destroy_time":2,"minecraft:block_light_absorption":0,"minecraft:unwalkable":true,"minecraft:entity_collision":{"origin":[-6,0,-6],"size":[12,16,16]},"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_copo'"},"minecraft:on_player_placing":{"event":"loled:face"}},"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:agua')==1","components":{"minecraft:geometry":"geometry.bebedouro_copo","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"agua_1"},"minecraft:material_instances":{"*":{"texture":"bebedouro","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:agua')==2","components":{"minecraft:geometry":"geometry.bebedouro_agua_copo","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"nothing"},"minecraft:ticking":{"looping":true,"range":[1,16],"on_tick":{"event":"agua_ready"}},"minecraft:material_instances":{"*":{"texture":"bebedouro_agua_copo","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:agua')==3","components":{"minecraft:geometry":"geometry.bebedouro_copo_agua","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"take_agua"},"minecraft:material_instances":{"*":{"texture":"bebedouro_copo_agua","render_method":"alpha_test"}}}}],"events":{"loled:face":{"set_block_property":{"loled:face":"query.cardinal_facing_2d-2"}},"loled:toggle":{"set_block_property":{"loled:agua":"query.block_property('loled:agua')+1"},"decrement_stack":{}},"agua_1":{"set_block_property":{"loled:agua":2}},"agua_ready":{"set_block_property":{"loled:agua":3}},"take_agua":{"set_block_property":{"loled:agua":0},"spawn_loot":{"table":"loot_tables/blocks/item_water.json"}}}}}