Examples of mate()


Examples of forestry.api.apiculture.IBee.mate()

      IBeeGenome genome = PluginApiculture.beeInterface.templateAsGenome(template);

      IBee bee = PluginApiculture.beeInterface.getBee(player.worldObj, genome);

      if(this.type == EnumBeeType.QUEEN)
        bee.mate(bee);
     
      ItemStack beestack = PluginApiculture.beeInterface.getMemberStack(bee, type.ordinal());
      player.dropPlayerItemWithRandomChoice(beestack, true);
      func_152373_a(sender, this, "Player %s was given a %s bee.", player.getCommandSenderName(), ((IAlleleSpecies) template[0]).getName());
    } else
View Full Code Here

Examples of forestry.api.lepidopterology.IButterfly.mate()

      } else if(PluginLepidopterology.butterflyInterface.isMember(crafting.getStackInSlot(i), EnumFlutterType.SERUM.ordinal()))
        serum = PluginLepidopterology.butterflyInterface.getMember(crafting.getStackInSlot(i))
    }
   
    IButterfly mated = butterfly.copy();
    mated.mate(serum);
    return PluginLepidopterology.butterflyInterface.getMemberStack(mated, EnumFlutterType.BUTTERFLY.ordinal());
  }

  @Override
  public int getRecipeSize() {
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.