@@ -88,4 +88,65 @@ public static void offerSwordRecipe(Consumer<RecipeJsonProvider> exporter, ItemC
8888 FabricRecipeProvider .conditionsFromItem (input ))
8989 .group ("sword" ).offerTo (exporter );
9090 }
91+
92+ /**
93+ * for making a Chestplate recipe
94+ * @param exporter the expoter
95+ * @param output the output that is the Chestplate
96+ * @param input the material the Chestplate is made up of (wood, stone, iron, gold, diamond, any modded material)
97+ */
98+ public static void offerChestplateRecipe (Consumer <RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
99+ ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
100+ .pattern ("# #" )
101+ .pattern ("###" )
102+ .pattern ("###" )
103+ .criterion (FabricRecipeProvider .hasItem (input ),
104+ FabricRecipeProvider .conditionsFromItem (input ))
105+ .group ("chestplate" ).offerTo (exporter );
106+ }
107+ /**
108+ * for making a Boots recipe
109+ * @param exporter the exporter
110+ * @param output the output that is the Boots
111+ * @param input the material the Boots is made up of (wood, stone, iron, gold, diamond, any modded material)
112+ */
113+ public static void offerBootsRecipe (Consumer <RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
114+ ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
115+ .pattern (" " )
116+ .pattern ("# #" )
117+ .pattern ("# #" )
118+ .criterion (FabricRecipeProvider .hasItem (input ),
119+ FabricRecipeProvider .conditionsFromItem (input ))
120+ .group ("boots" ).offerTo (exporter );
121+ }
122+ /**
123+ * for making a Leggings recipe
124+ * @param exporter the exporter
125+ * @param output the output that is the Leggings
126+ * @param input the material the Leggings is made up of (wood, stone, iron, gold, diamond, any modded material)
127+ */
128+ public static void offerLeggingsRecipe (Consumer <RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
129+ ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
130+ .pattern ("###" )
131+ .pattern ("# #" )
132+ .pattern ("# #" )
133+ .criterion (FabricRecipeProvider .hasItem (input ),
134+ FabricRecipeProvider .conditionsFromItem (input ))
135+ .group ("leggings" ).offerTo (exporter );
136+ }
137+ /**
138+ * for making a Helmet recipe
139+ * @param exporter the exporter
140+ * @param output the output that is the Helmet
141+ * @param input the material the Helmet is made up of (wood, stone, iron, gold, diamond, any modded material)
142+ */
143+ public static void offerHelmetRecipe (Consumer <RecipeJsonProvider > exporter , ItemConvertible output , ItemConvertible input ) {
144+ ShapedRecipeJsonBuilder .create (RecipeCategory .TOOLS , output ).input (Character .valueOf ('#' ), input )
145+ .pattern ("###" )
146+ .pattern ("# #" )
147+ .pattern (" " )
148+ .criterion (FabricRecipeProvider .hasItem (input ),
149+ FabricRecipeProvider .conditionsFromItem (input ))
150+ .group ("helmet" ).offerTo (exporter );
151+ }
91152}
0 commit comments