use of net.minecraft.data.recipes.SpecialRecipeBuilder in project Create by Creators-of-Create.
the class StandardRecipeGen method createSpecial.
GeneratedRecipe createSpecial(Supplier<? extends SimpleRecipeSerializer<?>> serializer, String recipeType, String path) {
ResourceLocation location = Create.asResource(recipeType + "/" + currentFolder + "/" + path);
return register(consumer -> {
SpecialRecipeBuilder b = SpecialRecipeBuilder.special(serializer.get());
b.save(consumer, location.toString());
});
}
Aggregations