use of forestry.apiculture.items.ItemRegistryApiculture in project ForestryMC by ForestryMC.
the class InventoryDatabaseAnalyzer method isAlyzingFuel.
public static boolean isAlyzingFuel(ItemStack itemstack) {
if (itemstack.isEmpty()) {
return false;
}
if (ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.APICULTURE))) {
ItemRegistryApiculture beeItems = ModuleApiculture.getItems();
Item item = itemstack.getItem();
return beeItems.honeyDrop == item || beeItems.honeydew == item;
}
return false;
}
Aggregations