public interface IIntegrationRecipeProvider
Modifier and Type | Method and Description |
---|---|
IntegrationRecipe |
getRecipe(net.minecraft.util.ResourceLocation name)
Returns recipe by it's name
|
IntegrationRecipe |
getRecipeFor(net.minecraft.item.ItemStack target,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toIntegrate)
Gets an integration recipe for the given ingredients.
|
@Nullable IntegrationRecipe getRecipeFor(@Nonnull net.minecraft.item.ItemStack target, @Nonnull net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> toIntegrate)
target
- The center itemstack.toIntegrate
- A list of stacks to try to integrate to theIntegrationRecipe getRecipe(@Nonnull net.minecraft.util.ResourceLocation name)