Biomes O Plenty flowers can now be used with Forestry bees. (May only be for bees that need normal flowers though, couldn't find anywhere for custom flower types (desert, hell etc))

This commit is contained in:
Adubbz 2013-04-22 22:33:07 +10:00
parent 0af3f744ef
commit 2a6f6c3951
3 changed files with 9 additions and 1 deletions

View file

@ -33,6 +33,7 @@
- Adjusted high grass hitbox to cover both blocks - Adjusted high grass hitbox to cover both blocks
- Fixed an issue causing sound files to be created on the desktop - Fixed an issue causing sound files to be created on the desktop
- Biomes O Plenty saplings now work in the Forestry fermenter - Biomes O Plenty saplings now work in the Forestry fermenter
- Biomes O Plenty flowers can now be used with bees
Version 0.5.1 '17-04-2013' Version 0.5.1 '17-04-2013'
- Fixed server crash with mudballs - Fixed server crash with mudballs

View file

@ -1,5 +1,5 @@
1. Thaumcraft 1. Thaumcraft
2. Ars Magica 2. Ars Magica
3. Thermal Expansion - Woods in sawmill - DONE 3. Thermal Expansion - Woods in sawmill - DONE
4. Forestry - Flowers working with apiarys, wood in backpacks - In Progress 4. Forestry - Wood in backpacks - In Progress
5. Better World Generation 4 - In Progress 5. Better World Generation 4 - In Progress

View file

@ -11,6 +11,7 @@ import net.minecraftforge.oredict.OreDictionary;
import biomesoplenty.api.Blocks; import biomesoplenty.api.Blocks;
import biomesoplenty.configuration.BOPConfiguration; import biomesoplenty.configuration.BOPConfiguration;
import biomesoplenty.helpers.BonemealUse; import biomesoplenty.helpers.BonemealUse;
import forestry.api.apiculture.FlowerManager;
import forestry.api.core.EnumHumidity; import forestry.api.core.EnumHumidity;
import forestry.api.core.EnumTemperature; import forestry.api.core.EnumTemperature;
import forestry.api.core.ItemInterface; import forestry.api.core.ItemInterface;
@ -25,6 +26,7 @@ public class ForestryIntegration
{ {
addClimates(); addClimates();
addFermenterRecipes(); addFermenterRecipes();
addFlowers();
} }
private static void addClimates() private static void addClimates()
@ -236,4 +238,9 @@ public class ForestryIntegration
new LiquidStack(ItemInterface.getItem("liquidBiomass").itemID, 1, ItemInterface.getItem("liquidBiomass").getItemDamage()), new LiquidStack(ItemInterface.getItem("liquidBiomass").itemID, 1, ItemInterface.getItem("liquidBiomass").getItemDamage()),
new LiquidStack(ItemInterface.getItem("liquidHoney").itemID, 1, ItemInterface.getItem("liquidHoney").getItemDamage())); new LiquidStack(ItemInterface.getItem("liquidHoney").itemID, 1, ItemInterface.getItem("liquidHoney").getItemDamage()));
} }
private static void addFlowers()
{
FlowerManager.plainFlowers.add(new ItemStack(Blocks.flowers.get(), 1, OreDictionary.WILDCARD_VALUE));
}
} }