Class CuttingRecipeGen

All Implemented Interfaces:
net.minecraft.data.DataProvider
Direct Known Subclasses:
CreateCuttingRecipeGen

public abstract class CuttingRecipeGen extends StandardProcessingRecipeGen<CuttingRecipe>
The base class for Cutting recipe generation. Addons should extend this and use the ProcessingRecipeGen.create(java.lang.String, java.util.function.Supplier<net.minecraft.world.level.ItemLike>, java.util.function.UnaryOperator<B>) methods or the helper methods contained in this class to make recipes. For an example of how you might do this, see Create's implementation: CreateCuttingRecipeGen. Needs to be added to a registered recipe provider to do anything, see CreateRecipeProvider