Package forestry.api.apiculture

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

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.