Search in sources :

Example 6 with AlchemyCircleRenderer

use of WayofTime.bloodmagic.alchemyArray.AlchemyCircleRenderer in project BloodMagic by WayofTime.

the class AlchemyArrayRecipeRegistry method registerRecipe.

public static void registerRecipe(String inputOreDict, ItemStack catalystStack, AlchemyArrayEffect arrayEffect, ResourceLocation arrayResource) {
    AlchemyCircleRenderer circleRenderer = arrayResource == null ? DEFAULT_RENDERER : new AlchemyCircleRenderer(arrayResource);
    registerRecipe(OreDictionary.doesOreNameExist(inputOreDict) && OreDictionary.getOres(inputOreDict).size() > 0 ? OreDictionary.getOres(inputOreDict) : Collections.emptyList(), catalystStack, arrayEffect, circleRenderer);
}
Also used : AlchemyCircleRenderer(WayofTime.bloodmagic.alchemyArray.AlchemyCircleRenderer)

Aggregations

AlchemyCircleRenderer (WayofTime.bloodmagic.alchemyArray.AlchemyCircleRenderer)6 ItemStack (net.minecraft.item.ItemStack)3 DualAlchemyCircleRenderer (WayofTime.bloodmagic.client.render.alchemyArray.DualAlchemyCircleRenderer)2 PageAlchemyArray (WayofTime.bloodmagic.compat.guideapi.page.PageAlchemyArray)2 ArrayList (java.util.ArrayList)2 ResourceLocation (net.minecraft.util.ResourceLocation)2 RecipeAlchemyArray (WayofTime.bloodmagic.api.impl.recipe.RecipeAlchemyArray)1