Fix #1434 Fix #1551 Make hives spawn existing flowers only, up to 10

This commit is contained in:
mezz committed 2017-09-07 23:41:59 -07:00
1 parent a01190a242
commit dea1fb144a
19 files changed
+302 -40

No files matched your search

@@ -151,6 +151,7 @@ public class PluginApiculture extends BlankForestryPlugin {
public static String beekeepingMode = "NORMAL";
public static final int ticksPerBeeWorkCycle = 550;
public static int maxFlowersSpawnedPerHive = 20;
@Nullable
public static VillagerRegistry.VillagerProfession villagerApiarist;
@@ -261,6 +262,8 @@ public class PluginApiculture extends BlankForestryPlugin {
secondPrincessChance = config.getFloatLocalized("beekeeping", "second.princess", secondPrincessChance, 0.0f, 100.0f);
maxFlowersSpawnedPerHive = config.getIntLocalized("beekeeping", "flowers.spawn", 20, 0, 1000);
String[] blacklist = config.getStringListLocalized("species", "blacklist", Constants.EMPTY_STRINGS);
parseBeeBlacklist(blacklist);