{"format_version":"1.10.10","minecraft:client_entity":{"description":{"identifier":"pod_trn:diesel_locomotive","materials":{"default":"entity_emissive_alpha"},"textures":{"red":"textures/podcrash/trains/entity/frontcab_diesel/red","blue":"textures/podcrash/trains/entity/frontcab_diesel/blue","cyan":"textures/podcrash/trains/entity/frontcab_diesel/cyan","gray":"textures/podcrash/trains/entity/frontcab_diesel/gray","light_gray":"textures/podcrash/trains/entity/frontcab_diesel/light_gray","lime":"textures/podcrash/trains/entity/frontcab_diesel/lime","pink":"textures/podcrash/trains/entity/frontcab_diesel/pink","black":"textures/podcrash/trains/entity/frontcab_diesel/black","brown":"textures/podcrash/trains/entity/frontcab_diesel/brown","green":"textures/podcrash/trains/entity/frontcab_diesel/green","white":"textures/podcrash/trains/entity/frontcab_diesel/white","orange":"textures/podcrash/trains/entity/frontcab_diesel/orange","purple":"textures/podcrash/trains/entity/frontcab_diesel/purple","yellow":"textures/podcrash/trains/entity/frontcab_diesel/yellow","magenta":"textures/podcrash/trains/entity/frontcab_diesel/magenta","light_blue":"textures/podcrash/trains/entity/frontcab_diesel/light_blue","drill":"textures/podcrash/trains/entity/drill_attachment/drill","drill_chipped":"textures/podcrash/trains/entity/drill_attachment/drill_chipped","drill_damaged":"textures/podcrash/trains/entity/drill_attachment/drill_damaged"},"geometry":{"drill_equipped":"geometry.pod_trn.diesel_locomotive_drill","default":"geometry.pod_trn.diesel_locomotive"},"animations":{"move_loco":"animation.pod_trn.locomotive.move","move":"animation.pod_trn.rolling_stock.move","smoke":"animation.pod_trn.locomotive.smoke.2"},"particle_effects":{"smoke":"pod_trn:smoke"},"scripts":{"initialize":["v.smooth_rot_y = query.property('pod_trn:rotation_y');","v.smooth_rot_x = query.property('pod_trn:rotation_x');","v.smooth_rot_z = query.property('pod_trn:rotation_z');","v.smooth_rot_z = query.property('pod_trn:rotation_z');","v.smooth_throttle = query.property('pod_trn:throttle');"],"pre_animation":["v.hide_front_coupler = query.property('pod_trn:drill_equipped');","v.delta_time_multiplier = query.property('pod_trn:direction') ? 5 : 10;","v.smooth_rot_y = math.lerprotate(query.property('pod_trn:rotation_y'), v.smooth_rot_y, math.exp(-v.delta_time_multiplier * q.delta_time));","v.smooth_rot_x = math.lerprotate(query.property('pod_trn:rotation_x'), v.smooth_rot_x, math.exp(-v.delta_time_multiplier * q.delta_time));","v.smooth_rot_z = math.lerprotate(query.property('pod_trn:rotation_z'), v.smooth_rot_z, math.exp(-v.delta_time_multiplier * q.delta_time));","v.smooth_rot_z = math.lerprotate(query.property('pod_trn:rotation_z'), v.smooth_rot_z, math.exp(-v.delta_time_multiplier * q.delta_time));","v.smooth_throttle = math.lerprotate(query.property('pod_trn:throttle'), v.smooth_throttle, math.exp(-10 * q.delta_time));"],"animate":["move","move_loco",{"smoke":"q.ground_speed > 0 && q.property('pod_trn:throttle') != 0.33 && q.property('pod_trn:fuel') > 0"}]},"render_controllers":[{"controller.render.pod_trn_drill_head":"q.property('pod_trn:drill_equipped') > 0"},{"controller.render.pod_trn_drill":"q.property('pod_trn:drill_equipped') > 0"},"controller.render.pod_trn_stock"]}}}