11package io .github .codecraftplugin .registrylib .utils ;
22
33import net .fabricmc .fabric .api .datagen .v1 .provider .FabricRecipeProvider ;
4+ import net .minecraft .data .server .recipe .RecipeExporter ;
45import net .minecraft .data .server .recipe .RecipeJsonProvider ;
56import net .minecraft .data .server .recipe .ShapedRecipeJsonBuilder ;
67import net .minecraft .item .ItemConvertible ;
@@ -18,7 +19,7 @@ public class RegistryRecipeProvider {
1819 * @param input the material the axe is made up of (wood, stone, iron, gold, diamond, any modded material)
1920 */
2021
21- public static void offerAxeRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
22+ public static void offerAxeRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
2223 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input ).input ('S' , Items .STICK )
2324 .pattern ("## " )
2425 .pattern ("#S " )
@@ -33,7 +34,7 @@ public static void offerAxeRecipe(Consumer<RecipeJsonProvider> exporter, ItemCon
3334 * @param output the output that is the pickaxe
3435 * @param input the material the pickaxe is made up of (wood, stone, iron, gold, diamond, any modded material)
3536 */
36- public static void offerPickaxeRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
37+ public static void offerPickaxeRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
3738 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input ).input ('S' , Items .STICK )
3839 .pattern ("###" )
3940 .pattern (" S " ).pattern (" S " )
@@ -48,7 +49,7 @@ public static void offerPickaxeRecipe(Consumer<RecipeJsonProvider> exporter, Ite
4849 * @param input the material the Hoe is made up of (wood, stone, iron, gold, diamond, any modded material)
4950 */
5051
51- public static void offerHoeRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
52+ public static void offerHoeRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
5253 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input ).input ('S' , Items .STICK )
5354 .pattern ("## " )
5455 .pattern (" S " )
@@ -63,7 +64,7 @@ public static void offerHoeRecipe(Consumer<RecipeJsonProvider> exporter, ItemCon
6364 * @param input the material the Shovel is made up of (wood, stone, iron, gold, diamond, any modded material)
6465 */
6566
66- public static void offerShovelRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
67+ public static void offerShovelRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
6768 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input ).input ('S' , Items .STICK )
6869 .pattern (" # " )
6970 .pattern (" S " )
@@ -79,7 +80,7 @@ public static void offerShovelRecipe(Consumer<RecipeJsonProvider> exporter, Item
7980 * @param output the output that is the Sword
8081 * @param input the material the Sword is made up of (wood, stone, iron, gold, diamond, any modded material)
8182 */
82- public static void offerSwordRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
83+ public static void offerSwordRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
8384 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input ).input ('S' , Items .STICK )
8485 .pattern (" # " )
8586 .pattern (" # " )
@@ -95,7 +96,7 @@ public static void offerSwordRecipe(Consumer<RecipeJsonProvider> exporter, ItemC
9596 * @param output the output that is the Chestplate
9697 * @param input the material the Chestplate is made up of (wood, stone, iron, gold, diamond, any modded material)
9798 */
98- public static void offerChestplateRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
99+ public static void offerChestplateRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
99100 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
100101 .pattern ("# #" )
101102 .pattern ("###" )
@@ -110,7 +111,7 @@ public static void offerChestplateRecipe(Consumer<RecipeJsonProvider> exporter,
110111 * @param output the output that is the Boots
111112 * @param input the material the Boots is made up of (wood, stone, iron, gold, diamond, any modded material)
112113 */
113- public static void offerBootsRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
114+ public static void offerBootsRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
114115 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
115116 .pattern (" " )
116117 .pattern ("# #" )
@@ -125,7 +126,7 @@ public static void offerBootsRecipe(Consumer<RecipeJsonProvider> exporter, ItemC
125126 * @param output the output that is the Leggings
126127 * @param input the material the Leggings is made up of (wood, stone, iron, gold, diamond, any modded material)
127128 */
128- public static void offerLeggingsRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
129+ public static void offerLeggingsRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
129130 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
130131 .pattern ("###" )
131132 .pattern ("# #" )
@@ -140,7 +141,7 @@ public static void offerLeggingsRecipe(Consumer<RecipeJsonProvider> exporter, It
140141 * @param output the output that is the Helmet
141142 * @param input the material the Helmet is made up of (wood, stone, iron, gold, diamond, any modded material)
142143 */
143- public static void offerHelmetRecipe (Consumer < RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
144+ public static void offerHelmetRecipe (RecipeExporter exporter , ItemConvertible output , ItemConvertible input ) {
144145 ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
145146 .pattern ("###" )
146147 .pattern ("# #" )
0 commit comments