{"format_version":"1.16.100","minecraft:block":{"description":{"identifier":"loled:car_platform_GT","properties":{"loled:face":[0,1,2,3],"loled:car_GT":[0,1,2,3,4,5,6,7]}},"components":{"minecraft:material_instances":{"*":{"texture":"platform_gt","render_method":"alpha_test"}},"minecraft:pick_collision":{"origin":[-8,0,-8],"size":[16,2,16]},"minecraft:creative_category":{"group":"itemGroup.name.garage","category":"construction"},"minecraft:loot":"loot_tables/car/car_platform_GT.json","minecraft:geometry":"geometry.platform","minecraft:destroy_time":2,"minecraft:block_light_absorption":0,"minecraft:unwalkable":true,"minecraft:entity_collision":{"origin":[-8,0,-8],"size":[16,2,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=='dolar'"},"minecraft:on_player_placing":{"event":"loled:face"},"minecraft:on_player_destroyed":{"event":"loled:kill_platform"}},"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:car_GT')==1","components":{"minecraft:geometry":"geometry.platform","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"car_GT_1","condition":"query.get_equipped_item_name=='item_tool'"},"minecraft:material_instances":{"*":{"texture":"platform_gt","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:car_GT')==2","components":{"minecraft:geometry":"geometry.platform","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"car_GT_2","condition":"query.get_equipped_item_name=='item_hammer'"},"minecraft:material_instances":{"*":{"texture":"platform_gt","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:car_GT')==3","components":{"minecraft:geometry":"geometry.platform","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"car_GT_3","condition":"query.get_equipped_item_name=='item_tool'"},"minecraft:material_instances":{"*":{"texture":"platform_gt","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:car_GT')==4","components":{"minecraft:geometry":"geometry.platform","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"car_GT_4","condition":"query.get_equipped_item_name=='item_hammer'"},"minecraft:material_instances":{"*":{"texture":"platform_gt","render_method":"alpha_test"}}}},{"condition":"query.block_property('loled:car_GT')==5","components":{"minecraft:geometry":"geometry.platform","minecraft:block_light_absorption":0,"minecraft:on_interact":{"event":"car_GT_5","condition":"query.get_equipped_item_name=='item_tool'"},"minecraft:material_instances":{"*":{"texture":"platform_gt","render_method":"alpha_test"}}}}],"events":{"loled:face":{"set_block_property":{"loled:face":"query.cardinal_facing_2d-2"}},"loled:toggle":{"set_block_property":{"loled:car_GT":"query.block_property('loled:car_GT')+1"},"run_command":{"command":["title @p actionbar Use Tool to continue"]},"decrement_stack":{}},"car_GT_1":{"set_block_property":{"loled:car_GT":2},"run_command":{"command":["title @p actionbar Use Hammer to continue","playsound random.anvil_use @a ~~~ 1 1","summon loled:platform_GT_1"]}},"car_GT_2":{"set_block_property":{"loled:car_GT":3},"run_command":{"command":["title @p actionbar Use Tool to continue","kill @e[type=loled:platform_GT_1,r=0.8]","playsound random.anvil_use @a ~~~ 1 1","summon loled:platform_GT_2"]}},"car_GT_3":{"set_block_property":{"loled:car_GT":4},"run_command":{"command":["title @p actionbar Use Hammer to continue","kill @e[type=loled:platform_GT_2,r=0.8]","playsound random.anvil_use @a ~~~ 1 1","summon loled:platform_GT_4"]}},"car_GT_4":{"set_block_property":{"loled:car_GT":5},"run_command":{"command":["title @p actionbar Use Tool to continue","kill @e[type=loled:platform_GT_4,r=0.8]","playsound random.anvil_use @a ~~~ 1 1","summon loled:platform_GT_3"]}},"car_GT_5":{"set_block_property":{"loled:car_GT":0},"run_command":{"command":["title @p actionbar Use Dolar to restart","kill @e[type=loled:platform_GT_3,r=0.8]","playsound random.anvil_use @a ~~~ 1 1","playsound random.levelup @a ~~~ 1 1","summon vehicle:shelby.mustang.gt.500"]}},"loled:kill_platform":{"run_command":{"command":["kill @e r=0.8"]}}}}}