File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed
java/baguchan/better_with_aquatic/crafting
resources/assets/better_with_aquatic/recipes Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ halplibe_version=3.5.2
1111dragonfly_version =1.4.7-7.1
1212terrain_api_version =1.4.4-7.1
1313# Mod
14- mod_version =3.2 .0
14+ mod_version =3.3 .0
1515mod_group =baguchan
1616mod_name =better_with_aquatic
Original file line number Diff line number Diff line change 88import net .minecraft .core .data .registry .recipe .RecipeSymbol ;
99import net .minecraft .core .data .registry .recipe .entry .RecipeEntryCrafting ;
1010import net .minecraft .core .item .ItemStack ;
11+ import turniplabs .halplibe .helper .RecipeBuilder ;
1112import turniplabs .halplibe .util .RecipeEntrypoint ;
1213
14+ import static baguchan .better_with_aquatic .BetterWithAquatic .MOD_ID ;
15+
1316public class ModCraftings implements RecipeEntrypoint {
1417 public static final RecipeNamespace AQUATIC = new RecipeNamespace ();
1518 public static final RecipeGroup <RecipeEntryCrafting <?, ?>> WORKBENCH = new RecipeGroup <>(new RecipeSymbol (new ItemStack (Block .workbench )));
1619
1720 @ Override
1821 public void onRecipesReady () {
1922 AQUATIC .register ("workbench" , WORKBENCH );
20- Registries .RECIPES .register ("aquatic" , AQUATIC );
23+ Registries .RECIPES .register (MOD_ID , AQUATIC );
2124 DataLoader .loadRecipesFromFile ("/assets/better_with_aquatic/recipes/workbench.json" );
2225 }
2326
2427 @ Override
2528 public void initNamespaces () {
26-
29+ RecipeEntrypoint .super .initNamespaces ();
30+ RecipeBuilder .initNameSpace (MOD_ID );
2731 }
2832}
Original file line number Diff line number Diff line change 11[
22 {
3- "name" : " aquatic :workbench/light_bulb" ,
3+ "name" : " better_with_aquatic :workbench/light_bulb" ,
44 "type" : " minecraft:crafting/shaped" ,
55 "pattern" : [
66 " TTT" ,
You can’t perform that action at this time.
0 commit comments