File tree Expand file tree Collapse file tree
resources/template/src/main/java/PACKAGEPATH Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -483,12 +483,6 @@ public void serverEvent(ModEvent event) {
483483 }
484484 }
485485
486- public static void genData (String MODID , GatherDataEvent event ) {
487- CommonEvents .Recipe .REGISTER .execute (Runnable ::run );
488- event .getGenerator ().addProvider (new Recipes (event .getGenerator ()));
489- Fuzzy .register (event .getGenerator ());
490- }
491-
492486 public static void debug (String msg , Object ... params ) {
493487 if (Config .DebugLogging ) {
494488 if (instance == null || instance .logger == null ) {
Original file line number Diff line number Diff line change 55import net .minecraftforge .fml .event .lifecycle .GatherDataEvent ;
66
77@ net .minecraftforge .fml .common .Mod (Mod .MODID )
8- @ net .minecraftforge .fml .common .Mod .EventBusSubscriber (modid = Mod .MODID , bus = net .minecraftforge .fml .common .Mod .EventBusSubscriber .Bus .MOD )
98public class Mod {
109 public static final String MODID = "#ID#" ;
1110
@@ -16,9 +15,4 @@ public class Mod {
1615 throw new RuntimeException ("Could not load mod " + MODID , e );
1716 }
1817 }
19-
20- @ SubscribeEvent
21- public static void genData (GatherDataEvent event ) {
22- ModCore .genData (MODID , event );
23- }
2418}
You can’t perform that action at this time.
0 commit comments