{"format_version":"1.10.10","minecraft:client_entity":{"description":{"identifier":"pod_trn:steam_locomotive","materials":{"default":"entity_emissive_alpha"},"textures":{"red":"textures/podcrash/trains/entity/basic_steam/red","blue":"textures/podcrash/trains/entity/basic_steam/blue","cyan":"textures/podcrash/trains/entity/basic_steam/cyan","gray":"textures/podcrash/trains/entity/basic_steam/gray","light_gray":"textures/podcrash/trains/entity/basic_steam/light_gray","lime":"textures/podcrash/trains/entity/basic_steam/lime","pink":"textures/podcrash/trains/entity/basic_steam/pink","black":"textures/podcrash/trains/entity/basic_steam/black","brown":"textures/podcrash/trains/entity/basic_steam/brown","green":"textures/podcrash/trains/entity/basic_steam/green","white":"textures/podcrash/trains/entity/basic_steam/white","orange":"textures/podcrash/trains/entity/basic_steam/orange","purple":"textures/podcrash/trains/entity/basic_steam/purple","yellow":"textures/podcrash/trains/entity/basic_steam/yellow","magenta":"textures/podcrash/trains/entity/basic_steam/magenta","light_blue":"textures/podcrash/trains/entity/basic_steam/light_blue"},"geometry":{"default":"geometry.pod_trn.basic_steam_locomotive","cowcatcher_equipped":"geometry.pod_trn.basic_steam_locomotive_cowcatcher"},"animations":{"move_loco":"animation.pod_trn.locomotive.move","move":"animation.pod_trn.rolling_stock.move","steam":"animation.pod_trn.locomotive.steam"},"particle_effects":{"steam":"pod_trn:steam","whistle":"pod_trn:whistle"},"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:cowcatcher_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",{"steam":"q.ground_speed > 0 && q.property('pod_trn:throttle') != 0.33 && q.property('pod_trn:fuel') > 0"}]},"render_controllers":[{"controller.render.pod_trn_cowcatcher":"q.property('pod_trn:cowcatcher_equipped')"},"controller.render.pod_trn_stock"]}}}