update beekeeping commands

This commit is contained in:
mezz committed 2014-11-14 22:53:46 -08:00
1 parent 8fe22130d3
commit 70e8654adb
13 files changed
+637 -400

No files matched your search

@@ -37,8 +37,7 @@ import forestry.api.genetics.IAllele;
import forestry.api.genetics.IClassification;
import forestry.api.genetics.IClassification.EnumClassLevel;
import forestry.api.recipes.RecipeManagers;
import forestry.apiculture.CommandBeekeepingMode;
import forestry.apiculture.CommandGiveBee;
import forestry.apiculture.commands.CommandBeekeeping;
import forestry.apiculture.FlowerProviderCacti;
import forestry.apiculture.FlowerProviderEnd;
import forestry.apiculture.FlowerProviderGourd;
@@ -264,6 +263,9 @@ public class PluginApiculture extends ForestryPlugin {
// Register village components with the Structure registry.
VillageHandlerApiculture.registerVillageComponents();
// Commands
PluginCore.rootCommand.addChildCommand(new CommandBeekeeping());
}
@Override
@@ -1275,12 +1277,6 @@ public class PluginApiculture extends ForestryPlugin {
return null;
}
@Override
public ICommand[] getConsoleCommands() {
return new ICommand[]{new CommandBeekeepingMode(), new CommandGiveBee(EnumBeeType.DRONE), new CommandGiveBee(EnumBeeType.PRINCESS),
new CommandGiveBee(EnumBeeType.QUEEN),};
}
@Override
public boolean processIMCMessage(IMCMessage message) {
if (message.key.equals("add-candle-lighting-id")) {