mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-14 01:04:12 +00:00
Use bee temp and humidity tolerance to place hives
This commit is contained in:
1 parent
93062955ba
commit
08741959b3
6 files changed
+49
-38
No files matched your search
@@ -237,8 +237,6 @@ public class PluginApiculture extends ForestryPlugin {
|
||||
|
||||
ForestryBlock.beehives.registerBlock(new BlockBeehives(), ItemForestryBlock.class, "beehives");
|
||||
|
||||
createHives();
|
||||
|
||||
// Init bee interface
|
||||
AlleleManager.alleleRegistry.registerSpeciesRoot(PluginApiculture.beeInterface = new BeeHelper());
|
||||
BeeManager.villageBees = new ArrayList[]{new ArrayList<IBeeGenome>(), new ArrayList<IBeeGenome>()};
|
||||
@@ -276,6 +274,7 @@ public class PluginApiculture extends ForestryPlugin {
|
||||
public void doInit() {
|
||||
super.doInit();
|
||||
|
||||
// Config
|
||||
apicultureConfig = new Configuration();
|
||||
|
||||
Property property = apicultureConfig.get("apiary.sidesensitive", CONFIG_CATEGORY, apiarySideSensitive);
|
||||
@@ -301,9 +300,13 @@ public class PluginApiculture extends ForestryPlugin {
|
||||
|
||||
apicultureConfig.save();
|
||||
|
||||
// Genetics
|
||||
createAlleles();
|
||||
createMutations();
|
||||
|
||||
// Hives
|
||||
registerBeehiveDrops();
|
||||
createHives();
|
||||
|
||||
// Inducers for swarmer
|
||||
BeeManager.inducers.put(ForestryItem.royalJelly.getItemStack(), 10);
|
||||
|
||||
Reference in new issue
Block a user