public interface IAssemblyRecipeProvider
Modifier and Type | Method and Description |
---|---|
default java.util.Optional<AssemblyRecipe> |
getRecipe(net.minecraft.util.ResourceLocation name,
net.minecraft.nbt.NBTTagCompound recipeTag)
Returns recipe by it's name
|
java.util.List<AssemblyRecipe> |
getRecipesFor(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> possible)
Should return a list of all the valid recipes given the input items.
|
@Nonnull java.util.List<AssemblyRecipe> getRecipesFor(@Nonnull net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> possible)
default java.util.Optional<AssemblyRecipe> getRecipe(@Nonnull net.minecraft.util.ResourceLocation name, @Nullable net.minecraft.nbt.NBTTagCompound recipeTag)
recipeTag
- Additional tag attached to network-transmitted recipe definition