{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:bathtub","properties":{"loled:face":[2,3,4,5]}},"components":{"minecraft:material_instances":{"*":{"texture":"bathtub","render_method":"opaque"}},"minecraft:pick_collision":{"origin":[-8,0,-8],"size":[16,16,16]},"minecraft:creative_category":{"group":"itemGroup.name.bathroom","category":"construction"},"minecraft:loot":"loot_tables/bathroom/bathtub.json","minecraft:geometry":"geometry.bathtub","minecraft:destroy_time":2,"minecraft:block_light_absorption":2,"minecraft:entity_collision":{"origin":[-8,0,-8],"size":[16,16,16]},"minecraft:on_player_placing":{"event":"loled:place"},"minecraft:on_interact":{"event":"loled:sit"},"minecraft:friction":0.6,"minecraft:map_color":"#00ff00","minecraft:flammable":{"flame_odds":0,"burn_odds":0}},"events":{"loled:place":{"set_block_property":{"loled:face":"(query.cardinal_player_facing)"}},"loled:sit":{"run_command":{"command":["summon furniture:to_sit_1 bathtub ~ ~-1 ~","ride @p start_riding @e[type=furniture:to_sit_1,name=bathtub,c=1] teleport_rider"]}}},"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]}}]}}