System.out.println(name+" "+model+" "+year);
    public Entity getEntity() throws EntityLoadingException {        try {            Mech mech = null;            if(chassisType == ChassisType.QUADRAPED_OMNI                    ||chassisType == ChassisType.QUADRAPED) {                mech =  new QuadMech(gyroType, cockpitType);            } else if (chassisType == ChassisType.ARMLESS) {                mech =  new ArmlessMech(gyroType, cockpitType);            } else {                mech =  new BipedMech(gyroType, cockpitType);            }            mech.setChassis(name);            mech.setModel(model);            mech.setYear(year);            mech.setFluff(fluff);            mech.setOmni(chassisType == ChassisType.BIPED_OMNI                    || chassisType == ChassisType.QUADRAPED_OMNI);            if (techType == TechType.INNER_SPHERE) {                switch (rulesLevel) {                case 1:                    mech.setTechLevel(TechConstants.T_IS_LEVEL_1);                    break;                case 2:                    mech.setTechLevel(TechConstants.T_IS_LEVEL_2);                    break;                case 3:                    mech.setTechLevel(TechConstants.T_IS_LEVEL_3);                    break;                default:                    throw new EntityLoadingException("Unsupported tech level: "                            + rulesLevel);                }            } else if (techType == TechType.CLAN) {                switch (rulesLevel) {                case 2:                    mech.setTechLevel(TechConstants.T_CLAN_LEVEL_2);                    break;                case 3:                    mech.setTechLevel(TechConstants.T_CLAN_LEVEL_3);                    break;                default:                    throw new EntityLoadingException("Unsupported tech level: "                            + rulesLevel);                }            } else if (techType == TechType.MIXED                    && mixedBaseTechType == TechType.INNER_SPHERE) {                mech.setTechLevel(TechConstants.T_IS_LEVEL_3);                mech.setMixedTech(true);            } else if (techType == TechType.MIXED                    && mixedBaseTechType == TechType.CLAN) {                mech.setTechLevel(TechConstants.T_CLAN_LEVEL_3);                mech.setMixedTech(true);            } else {                throw new EntityLoadingException("Unsupported tech base: "                        + techType);            }            mech.setWeight(tonnage);            int engineFlags = 0;            if (techType == TechType.CLAN || engineTechType == TechType.CLAN)                engineFlags = Engine.CLAN_ENGINE;            mech.setEngine(new Engine(engineRating, Engine                    .getEngineTypeByString(engineType.toString())                    ,engineFlags));            mech.setOriginalJumpMP(jumpMP);            mech.setStructureType(internalStructureType.toString());            mech.autoSetInternal();            mech.setArmorType(armorType.toString());            mech.initializeArmor(laArmor, Mech.LOC_LARM);            mech.initializeArmor(ltArmor, Mech.LOC_LT);            mech.initializeRearArmor(ltrArmor, Mech.LOC_LT);            mech.initializeArmor(llArmor, Mech.LOC_LLEG);            mech.initializeArmor(raArmor, Mech.LOC_RARM);            mech.initializeArmor(rtArmor, Mech.LOC_RT);            mech.initializeRearArmor(rtrArmor, Mech.LOC_RT);            mech.initializeArmor(rlArmor, Mech.LOC_RLEG);            mech.initializeArmor(headArmor, Mech.LOC_HEAD);            mech.initializeArmor(ctArmor, Mech.LOC_CT);            mech.initializeRearArmor(ctrArmor, Mech.LOC_CT);            setupCriticals(mech);            if (mech.isClan()) {                mech.addClanCase();            }            if (rulesLevel > 2) {                mech.setTargSysType(getTargSys());            }            // add any heat sinks not allocated            mech.addEngineSinks(heatSinks - mech.heatSinks(),                    heatSinkType == HeatSinkType.DOUBLE);            return mech;        } catch (Exception e) {            e.printStackTrace();            throw new EntityLoadingException(e.getMessage());        }    }