Examples of ILegacyHandler


Examples of forestry.api.genetics.ILegacyHandler

    fireproofFalse = new AlleleBoolean("fireproofFalse", false);
    fireproofTrue = new AlleleBoolean("fireproofTrue", true);

    // LEGACY MAPPINGS
    ILegacyHandler legacy = (ILegacyHandler) AlleleManager.alleleRegistry;

    legacy.registerLegacyMapping(0, "forestry.speciesForest");
    legacy.registerLegacyMapping(1, "forestry.speciesMeadows");
    legacy.registerLegacyMapping(2, "forestry.speciesCommon");
    legacy.registerLegacyMapping(3, "forestry.speciesCultivated");

    legacy.registerLegacyMapping(4, "forestry.speciesNoble");
    legacy.registerLegacyMapping(5, "forestry.speciesMajestic");
    legacy.registerLegacyMapping(6, "forestry.speciesImperial");

    legacy.registerLegacyMapping(7, "forestry.speciesDiligent");
    legacy.registerLegacyMapping(8, "forestry.speciesUnweary");
    legacy.registerLegacyMapping(9, "forestry.speciesIndustrious");

    legacy.registerLegacyMapping(10, "forestry.speciesSteadfast");
    legacy.registerLegacyMapping(11, "forestry.speciesValiant");
    legacy.registerLegacyMapping(12, "forestry.speciesHeroic");

    legacy.registerLegacyMapping(13, "forestry.speciesSinister");
    legacy.registerLegacyMapping(14, "forestry.speciesFiendish");
    legacy.registerLegacyMapping(15, "forestry.speciesDemonic");

    legacy.registerLegacyMapping(16, "forestry.speciesModest");
    legacy.registerLegacyMapping(17, "forestry.speciesFrugal");
    legacy.registerLegacyMapping(18, "forestry.speciesAustere");

    legacy.registerLegacyMapping(19, "forestry.speciesTropical");
    legacy.registerLegacyMapping(20, "forestry.speciesExotic");
    legacy.registerLegacyMapping(21, "forestry.speciesEdenic");

    legacy.registerLegacyMapping(22, "forestry.speciesEnded");

    legacy.registerLegacyMapping(25, "forestry.speciesWintry");

    legacy.registerLegacyMapping(28, "forestry.speciesVindictive");
    legacy.registerLegacyMapping(29, "forestry.speciesVengeful");
    legacy.registerLegacyMapping(30, "forestry.speciesAvenging");

    legacy.registerLegacyMapping(Defaults.ID_BEE_SPECIES_DARKENED, "forestry.speciesDarkened");
    legacy.registerLegacyMapping(Defaults.ID_BEE_SPECIES_REDDENED, "forestry.speciesReddened");
    legacy.registerLegacyMapping(Defaults.ID_BEE_SPECIES_OMEGA, "forestry.speciesOmega");

    legacy.registerLegacyMapping(34, "forestry.speciesLeporine");

    legacy.registerLegacyMapping(40, "forestry.speciesRural");

    legacy.registerLegacyMapping(43, "forestry.speciesMarshy");

    // Flowers
    legacy.registerLegacyMapping(1500, "forestry.flowersVanilla");
    legacy.registerLegacyMapping(1501, "forestry.flowersNether");
    legacy.registerLegacyMapping(1502, "forestry.flowersCacti");
    legacy.registerLegacyMapping(1503, "forestry.flowersMushrooms");
    legacy.registerLegacyMapping(1504, "forestry.flowersEnd");
    legacy.registerLegacyMapping(1505, "forestry.flowersJungle");
    legacy.registerLegacyMapping(1506, "forestry.flowersSnow");
    legacy.registerLegacyMapping(1507, "forestry.flowersWheat");

    // Effects
    legacy.registerLegacyMapping(1800, "forestry.effectNone");
    legacy.registerLegacyMapping(1801, "forestry.effectAggressive");
    legacy.registerLegacyMapping(1802, "forestry.effectHeroic");
    legacy.registerLegacyMapping(1803, "forestry.effectBeatific");
    legacy.registerLegacyMapping(1804, "forestry.effectMiasmic");
    legacy.registerLegacyMapping(1805, "forestry.effectMisanthrope");
    legacy.registerLegacyMapping(1806, "forestry.effectGlacial");
    legacy.registerLegacyMapping(1807, "forestry.effectRadioactive");
    legacy.registerLegacyMapping(1808, "forestry.effectCreeper");
    legacy.registerLegacyMapping(1809, "forestry.effectIgnition");
    legacy.registerLegacyMapping(1810, "forestry.effectExploration");
    legacy.registerLegacyMapping(1811, "forestry.effectFestiveEaster");

    // Generic
    legacy.registerLegacyMapping(1024, "forestry.boolFalse");
    legacy.registerLegacyMapping(1025, "forestry.boolTrue");

    // Speed
    legacy.registerLegacyMapping(1100, "forestry.speedSlowest");
    legacy.registerLegacyMapping(1101, "forestry.speedSlower");
    legacy.registerLegacyMapping(1102, "forestry.speedSlow");
    legacy.registerLegacyMapping(1103, "forestry.speedNorm");
    legacy.registerLegacyMapping(1104, "forestry.speedFast");
    legacy.registerLegacyMapping(1105, "forestry.speedFaster");
    legacy.registerLegacyMapping(1106, "forestry.speedFastest");

    // Lifespan
    legacy.registerLegacyMapping(1200, "forestry.lifespanShortest");
    legacy.registerLegacyMapping(1201, "forestry.lifespanShorter");
    legacy.registerLegacyMapping(1202, "forestry.lifespanShort");
    legacy.registerLegacyMapping(1203, "forestry.lifespanShortened");
    legacy.registerLegacyMapping(1204, "forestry.lifespanNormal");
    legacy.registerLegacyMapping(1205, "forestry.lifespanElongated");
    legacy.registerLegacyMapping(1206, "forestry.lifespanLong");
    legacy.registerLegacyMapping(1207, "forestry.lifespanLonger");
    legacy.registerLegacyMapping(1208, "forestry.lifespanLongest");

    // Fertility
    legacy.registerLegacyMapping(1300, "forestry.fertilityLow");
    legacy.registerLegacyMapping(1301, "forestry.fertilityNormal");
    legacy.registerLegacyMapping(1302, "forestry.fertilityHigh");
    legacy.registerLegacyMapping(1303, "forestry.fertilityMaximum");

    // Tolerance
    legacy.registerLegacyMapping(1450, "forestry.toleranceNone");
    legacy.registerLegacyMapping(1451, "forestry.toleranceBoth1");
    legacy.registerLegacyMapping(1452, "forestry.toleranceBoth2");
    legacy.registerLegacyMapping(1453, "forestry.toleranceBoth3");
    legacy.registerLegacyMapping(1454, "forestry.toleranceBoth4");
    legacy.registerLegacyMapping(1455, "forestry.toleranceBoth5");
    legacy.registerLegacyMapping(1456, "forestry.toleranceUp1");
    legacy.registerLegacyMapping(1457, "forestry.toleranceUp2");
    legacy.registerLegacyMapping(1458, "forestry.toleranceUp3");
    legacy.registerLegacyMapping(1459, "forestry.toleranceUp4");
    legacy.registerLegacyMapping(1460, "forestry.toleranceUp5");
    legacy.registerLegacyMapping(1461, "forestry.toleranceDown1");
    legacy.registerLegacyMapping(1462, "forestry.toleranceDown2");
    legacy.registerLegacyMapping(1463, "forestry.toleranceDown3");
    legacy.registerLegacyMapping(1464, "forestry.toleranceDown4");
    legacy.registerLegacyMapping(1465, "forestry.toleranceDown5");

    // Flower growth
    legacy.registerLegacyMapping(1700, "forestry.floweringSlowest");
    legacy.registerLegacyMapping(1701, "forestry.floweringSlower");
    legacy.registerLegacyMapping(1702, "forestry.floweringSlow");
    legacy.registerLegacyMapping(1710, "forestry.floweringMaximum");

    // Territory
    legacy.registerLegacyMapping(1750, "forestry.territoryDefault");
    legacy.registerLegacyMapping(1751, "forestry.territoryLarge");
    legacy.registerLegacyMapping(1752, "forestry.territoryLarger");
    legacy.registerLegacyMapping(1753, "forestry.territoryLargest");

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.