Search in sources :

Example 6 with ItemRegistryArboriculture

use of forestry.arboriculture.items.ItemRegistryArboriculture in project ForestryMC by ForestryMC.

the class ArboricultureJeiPlugin method register.

@Override
public void register(IModRegistry registry) {
    if (!ForestryAPI.enabledModules.contains(new ResourceLocation(Constants.MOD_ID, ForestryModuleUids.ARBORICULTURE))) {
        return;
    }
    ItemRegistryArboriculture items = ModuleArboriculture.getItems();
    Preconditions.checkNotNull(items);
    JeiUtil.addDescription(registry, items.grafter, items.grafterProven);
}
Also used : ItemRegistryArboriculture(forestry.arboriculture.items.ItemRegistryArboriculture) ResourceLocation(net.minecraft.util.ResourceLocation)

Aggregations

ItemRegistryArboriculture (forestry.arboriculture.items.ItemRegistryArboriculture)6 BlockRegistryArboriculture (forestry.arboriculture.blocks.BlockRegistryArboriculture)3 Item (net.minecraft.item.Item)2 ItemStack (net.minecraft.item.ItemStack)2 ResourceLocation (net.minecraft.util.ResourceLocation)2 EnumForestryWoodType (forestry.api.arboriculture.EnumForestryWoodType)1 EnumGermlingType (forestry.api.arboriculture.EnumGermlingType)1 ITree (forestry.api.arboriculture.ITree)1 IWoodType (forestry.api.arboriculture.IWoodType)1 BlockArbLog (forestry.arboriculture.blocks.BlockArbLog)1 ItemRegistryCore (forestry.core.items.ItemRegistryCore)1 VillagerTradeLists (forestry.core.utils.VillagerTradeLists)1 ArrayList (java.util.ArrayList)1 Nullable (javax.annotation.Nullable)1 NBTTagCompound (net.minecraft.nbt.NBTTagCompound)1 VillagerRegistry (net.minecraftforge.fml.common.registry.VillagerRegistry)1