{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:kitchen_dish","properties":{"loled:food":[0,1,2,3,4,5]}},"components":{"minecraft:material_instances":{"*":{"texture":"dish","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-5,0,-5],"size":[10,3,10]},"minecraft:creative_category":{"group":"itemGroup.name.kitchen","category":"construction"},"minecraft:loot":"loot_tables/kitchen/kitchen_dish.json","minecraft:geometry":"geometry.dish","minecraft:destroy_time":2,"minecraft:block_light_absorption":0,"minecraft:unwalkable":true,"minecraft:entity_collision":{"origin":[-5,0,-5],"size":[10,3,10]},"minecraft:friction":0.6,"minecraft:map_color":"#00ff00","minecraft:flammable":{"flame_odds":0,"burn_odds":0},"minecraft:on_interact":{"event":"loled:interact"}},"permutations":[{"condition":"query.block_property('loled:food')==1","components":{"minecraft:geometry":"geometry.dish","minecraft:on_interact":{"event":"loled:normal1"},"minecraft:block_light_absorption":0,"minecraft:material_instances":{"*":{"texture":"bife","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:food')==2","components":{"minecraft:geometry":"geometry.dish","minecraft:on_interact":{"event":"loled:normal2"},"minecraft:block_light_absorption":0,"minecraft:material_instances":{"*":{"texture":"galinha","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:food')==3","components":{"minecraft:geometry":"geometry.dish","minecraft:on_interact":{"event":"loled:normal3"},"minecraft:block_light_absorption":0,"minecraft:material_instances":{"*":{"texture":"coelho","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:food')==4","components":{"minecraft:geometry":"geometry.dish","minecraft:on_interact":{"event":"loled:normal4"},"minecraft:block_light_absorption":0,"minecraft:material_instances":{"*":{"texture":"porco","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:food')==5","components":{"minecraft:geometry":"geometry.dish","minecraft:on_interact":{"event":"loled:normal5"},"minecraft:block_light_absorption":0,"minecraft:material_instances":{"*":{"texture":"carneiro","render_method":"alpha_test"}}}}],"events":{"loled:interact":{"sequence":[{"trigger":{"target":"self","event":"dish_bife"},"condition":"query.get_equipped_item_name('main_hand')== 'cooked_beef'"},{"trigger":{"target":"self","event":"dish_galinha"},"condition":"query.get_equipped_item_name('main_hand')== 'cooked_chicken'"},{"trigger":{"target":"self","event":"dish_carneiro"},"condition":"query.get_equipped_item_name('main_hand')== 'cooked_mutton'"},{"trigger":{"target":"self","event":"dish_coelho"},"condition":"query.get_equipped_item_name('main_hand')== 'cooked_rabbit'"},{"trigger":{"target":"self","event":"dish_porco"},"condition":"query.get_equipped_item_name('main_hand')== 'cooked_porkchop'"}]},"dish_carneiro":{"set_block_property":{"loled:food":5},"decrement_stack":{}},"dish_bife":{"set_block_property":{"loled:food":1},"decrement_stack":{}},"dish_galinha":{"set_block_property":{"loled:food":2},"decrement_stack":{}},"dish_coelho":{"set_block_property":{"loled:food":3},"decrement_stack":{}},"dish_porco":{"set_block_property":{"loled:food":4},"decrement_stack":{}},"loled:normal1":{"set_block_property":{"loled:food":0},"spawn_loot":{"table":"loot_tables/blocks/bife.json"}},"loled:normal2":{"set_block_property":{"loled:food":0},"spawn_loot":{"table":"loot_tables/blocks/galinha.json"}},"loled:normal3":{"set_block_property":{"loled:food":0},"spawn_loot":{"table":"loot_tables/blocks/coelho.json"}},"loled:normal4":{"set_block_property":{"loled:food":0},"spawn_loot":{"table":"loot_tables/blocks/porco.json"}},"loled:normal5":{"set_block_property":{"loled:food":0},"spawn_loot":{"table":"loot_tables/blocks/carneiro.json"}}}}}