use of forestry.apiculture.worldgen.HiveGenHelper in project ForestryMC by ForestryMC.
the class ModuleApiculture method setupAPI.
@Override
public void setupAPI() {
HiveManager.hiveRegistry = hiveRegistry = new HiveRegistry();
HiveManager.genHelper = new HiveGenHelper();
FlowerManager.flowerRegistry = new FlowerRegistry();
BeeManager.commonVillageBees = new ArrayList<>();
BeeManager.uncommonVillageBees = new ArrayList<>();
BeeManager.beeFactory = new BeeFactory();
BeeManager.beeMutationFactory = new BeeMutationFactory();
BeeManager.jubilanceFactory = new JubilanceFactory();
BeeManager.armorApiaristHelper = new ArmorApiaristHelper();
// Init bee interface
BeeManager.beeRoot = new BeeRoot();
AlleleManager.alleleRegistry.registerSpeciesRoot(BeeManager.beeRoot);
// Modes
BeeManager.beeRoot.registerBeekeepingMode(BeekeepingMode.easy);
BeeManager.beeRoot.registerBeekeepingMode(BeekeepingMode.normal);
BeeManager.beeRoot.registerBeekeepingMode(BeekeepingMode.hard);
BeeManager.beeRoot.registerBeekeepingMode(BeekeepingMode.hardcore);
BeeManager.beeRoot.registerBeekeepingMode(BeekeepingMode.insane);
// Capabilities
CapabilityManager.INSTANCE.register(IArmorApiarist.class, new NullStorage<>(), () -> ArmorApiarist.INSTANCE);
}
Aggregations