{
  "format_version": "1.10.0",
  "minecraft:client_entity": {
    "description": {
      "identifier": "minecraft:minecart",
      "min_engine_version": "1.8.0",
      "materials": {
        "default": "minecart"
      },
      "textures": {
        "default": "textures/entity/minecart"
      },
      "geometry": {
        "default": "geometry.crl.minecart"
      },
      "scripts": {
        "initialize": ["v.modified_distance_moved = 0;"],
        "pre_animation": [
          "variable.hurt = query.hurt_time - query.frame_alpha;",

          "v.modified_distance_moved = v.modified_distance_moved + (q.delta_time * q.ground_speed);",
          "v.tire_angle = math.mod(v.modified_distance_moved, 360) * 60;"
        ],
        "animate": ["move", "tire_move", "cart_move"],
        "should_update_bones_and_effects_offscreen": "1.0"
      },
      "animations": {
        "move": "animation.minecart.crl.move",
        "tire_move": "animation.minecart.crl.tire_move",
        "cart_move": "animation.minecart.crl.cart_move"
      },
      "render_controllers": ["controller.render.crl.minecart"]
    }
  }
}
