public static BulletType valueOf(int value) {
      switch (value) {
        case 0: return Melee;
        case 141: return Fusion_Cutter_Hit;
        case 142: return Gauss_Rifle_Hit;
        case 143: return C_10_Canister_Rifle_Hit;
        case 144: return Gemini_Missiles;
        case 145: return Fragmentation_Grenade;
        case 146: return Longbolt_Missile;
        case 148: return ATS_ATA_Laser_Battery;
        case 149: return Burst_Lasers;
        case 150: return Arclite_Shock_Cannon_Hit;
        case 151: return EMP_Missile;
        case 152: return Dual_Photon_Blasters_Hit;
        case 153: return Particle_Beam_Hit;
        case 154: return Anti_Matter_Missile;
        case 155: return Pulse_Cannon;
        case 156: return Psionic_Shockwave_Hit;
        case 157: return Psionic_Storm;
        case 158: return Yamato_Gun_Bullet;
        case 159: return Phase_Disruptor;
        case 160: return STA_STS_Cannon_Overlay;
        case 161: return Sunken_Colony_Tentacle;
        case 163: return Acid_Spore;
        case 165: return Glave_Wurm;
        case 166: return Seeker_Spores;
        case 167: return Queen_Spell_Carrier;
        case 168: return Plague_Cloud;
        case 169: return ConsumeBullet;
        case 171: return Needle_Spine_Hit;
        case 172: return Invisible;
        case 201: return Optical_Flare_Grenade;
        case 202: return Halo_Rockets;
        case 203: return Subterranean_Spines;
        case 204: return Corrosive_Acid_Shot;
        case 206: return Neutron_Flare;
        case 209: return NoneBullet;
        case 210: return UnknownBullet;
        default: return null;
      }
    }