Skip to content

Commit f43858c

Browse files
ref: remove data generator stuff
1 parent 6ca89ec commit f43858c

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

src/main/java/cam72cam/mod/ModCore.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff 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) {

src/main/resources/template/src/main/java/PACKAGEPATH/Mod.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import 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)
98
public 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
}

0 commit comments

Comments
 (0)