Examples of IFruitFamily


Examples of forestry.api.genetics.IFruitFamily

    IClassification tropical = new BranchTrees("Tropical", "");

    IClassification carica = new BranchTrees("carica", "Carica");

    IFruitFamily prunes = new FruitFamily("prunes", "Prunus domestica");
    IFruitFamily pomes = new FruitFamily("pomes", "Pomum");
    IFruitFamily jungle = new FruitFamily("jungle", "Tropicus");
    IFruitFamily nux = new FruitFamily("nuts", "Nux");

    // Deciduous
    Allele.treeOak = new AlleleTreeSpecies("treeOak", false, "appleOak", quercus, "robur",
        proxy.getFoliageColorBasic(), WorldGenOak.class, new ItemStack(Blocks.log, 1, 0)).addFruitFamily(pomes)
        .setVanillaMap(0);
View Full Code Here

Examples of forestry.api.genetics.IFruitFamily

    drawLine(strike + StringUtil.localize(((IAlleleFruit) fruit1).getProvider().getDescription()), COLUMN_2, fruitDominance1);

    newLine();

    drawLine(StringUtil.localize("gui.family"), COLUMN_0);
    IFruitFamily primary = tree.getGenome().getFruitProvider().getFamily();
    IFruitFamily secondary = ((IAlleleFruit) tree.getGenome().getInactiveAllele(EnumTreeChromosome.FRUITS.ordinal())).getProvider().getFamily();

    if (primary != null)
      drawLine(primary.getName(), COLUMN_1, fruitDominance0);
    if (secondary != null)
      drawLine(secondary.getName(), COLUMN_2, fruitDominance1);

    endPage();
  }
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.