xp_bottle

{
  "format_version": "1.12.0",
  "minecraft:entity": {
    "description": {
      "identifier": "minecraft:xp_bottle",
      "is_spawnable": false,
      "is_summonable": true,
      "is_experimental": false
    },

    "components": {
      "minecraft:collision_box": {
        "width": 0.25,
        "height": 0.25
      },
      "minecraft:projectile": {
       "on_hit": {
        "grant_xp": {
          "minXP": 3,
          "maxXP": 11
        },
        "remove_on_hit": { }
       },
        "power": 0.5,
        "gravity": 0.05,
        "angle_offset": -20.0,
        "hit_sound": "glass"
      },
        "minecraft:physics": {
      },
      "minecraft:pushable": {
        "is_pushable": true,
        "is_pushable_by_piston": true
      },
      "minecraft:conditional_bandwidth_optimization": {
        "default_values": {
          "max_optimized_distance": 80.0,
          "max_dropped_ticks": 5,
          "use_motion_prediction_hints": true
        }
      }
    }
  }
}