@SuppressWarnings("unchecked") @Override public void manipulateTradesForVillager( EntityVillager villager, MerchantRecipeList recipeList, Random random) { recipeList.add( new MerchantRecipe( ForestryItem.beePrincessGE.getItemStack(1, Defaults.WILDCARD), new ItemStack(Items.emerald, 1))); recipeList.add( new MerchantRecipe( new ItemStack(Items.wheat, 2), ItemHoneycomb.getRandomComb(1, random, false))); recipeList.add( new MerchantRecipe( new ItemStack(Blocks.log, 24, Defaults.WILDCARD), ForestryBlock.apiculture.getItemStack(1, Defaults.DEFINITION_APIARY_META))); recipeList.add( new MerchantRecipe( new ItemStack(Items.emerald, 1), ForestryItem.frameProven.getItemStack(6))); recipeList.add( new MerchantRecipe( new ItemStack(Items.emerald, 12), ForestryItem.beePrincessGE.getItemStack(1, Defaults.WILDCARD), PluginApiculture.beeInterface.getMemberStack( PluginApiculture.beeInterface.getBee( villager.worldObj, PluginApiculture.beeInterface.templateAsGenome( BeeTemplates.getMonasticTemplate())), EnumBeeType.DRONE.ordinal()))); }
@Override public ArrayList<ItemStack> getDrones(World world, int x, int y, int z, int fortune) { ArrayList<ItemStack> ret = new ArrayList<ItemStack>(); ret.add( PluginApiculture.beeInterface.getMemberStack( createBee(world), EnumBeeType.DRONE.ordinal())); return ret; }