From 59423de96bb8ff9619f0e6d802ad3947f1f3851f Mon Sep 17 00:00:00 2001 From: Adubbz Date: Sun, 5 May 2013 09:50:16 +1000 Subject: [PATCH] Updated Forestry API --- src/minecraft/forestry/api/apiculture/IBeeModifier.java | 4 ++-- src/minecraft/forestry/api/recipes/IBottlerManager.java | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/minecraft/forestry/api/apiculture/IBeeModifier.java b/src/minecraft/forestry/api/apiculture/IBeeModifier.java index cce63accb..250e24e3c 100644 --- a/src/minecraft/forestry/api/apiculture/IBeeModifier.java +++ b/src/minecraft/forestry/api/apiculture/IBeeModifier.java @@ -26,14 +26,14 @@ public interface IBeeModifier { /** * @param genome * @param mate - * @return Fload modifying the production speed of queens. + * @return Float modifying the production speed of queens. */ float getProductionModifier(IBeeGenome genome, float currentModifier); /** * @param genome * @param mate - * @return Fload modifying the flowering of queens. + * @return Float modifying the flowering of queens. */ float getFloweringModifier(IBeeGenome genome, float currentModifier); diff --git a/src/minecraft/forestry/api/recipes/IBottlerManager.java b/src/minecraft/forestry/api/recipes/IBottlerManager.java index 2bfc43a70..a931663ba 100644 --- a/src/minecraft/forestry/api/recipes/IBottlerManager.java +++ b/src/minecraft/forestry/api/recipes/IBottlerManager.java @@ -17,7 +17,8 @@ import net.minecraftforge.liquids.LiquidStack; */ public interface IBottlerManager extends ICraftingProvider { /** - * Add a recipe to the bottler + * Add a recipe to the bottler. + * The bottler will populate its recipe list dynamically from the LiquidContainerRegistry. Recipes added explicitely will take precedence. * * @param cyclesPerUnit * Amount of work cycles required to run through the conversion once. @@ -30,5 +31,6 @@ public interface IBottlerManager extends ICraftingProvider { * @param bottled * ItemStack representing the finished product */ + @Deprecated public void addRecipe(int cyclesPerUnit, LiquidStack input, ItemStack can, ItemStack bottled); }